C# Class Microsoft.Azure.Commands.Sql.Services.Util

Mostrar archivo Open project: Azure/azure-powershell

Public Methods

Method Description
AreEmailAddressesInCorrectFormat ( string emailAddresses, char seperator ) : bool

Checks if email addresses are in a correct format

GenerateTracingId ( ) : string

Generates a client side tracing Id of the format: [Guid]

Private Methods

Method Description
ProcessAuditEvents ( string eventTypes ) : string[]

In cases where the user decided to use one of the shortcuts (ALL or NONE), this method sets the value of the EventType property to reflect the correct values. In addition the is a deprecated audit events validity check.

Method Details

AreEmailAddressesInCorrectFormat() public static method

Checks if email addresses are in a correct format
public static AreEmailAddressesInCorrectFormat ( string emailAddresses, char seperator ) : bool
emailAddresses string The email addresses
seperator char The character that seperates different emails in the emailAddresses string
return bool

GenerateTracingId() public static method

Generates a client side tracing Id of the format: [Guid]
public static GenerateTracingId ( ) : string
return string