ConnectionString.CreateUsingSharedAccessKey Method (Uri, String, String)
Creates a connection using the shared access key.
Namespace: Microsoft.WindowsAzure.Messaging
Assembly: Microsoft.WindowsAzure.Messaging (in Microsoft.WindowsAzure.Messaging.dll)
Syntax
public static string CreateUsingSharedAccessKey(
Uri endPoint,
string keyName,
string accessSecret
)
public:
static String^ CreateUsingSharedAccessKey(
Uri^ endPoint,
String^ keyName,
String^ accessSecret
)
static member CreateUsingSharedAccessKey :
endPoint:Uri *
keyName:string *
accessSecret:string -> string
Public Shared Function CreateUsingSharedAccessKey (
endPoint As Uri,
keyName As String,
accessSecret As String
) As String
Parameters
endPoint
Type: System.UriThe endpoint.
keyName
Type: System.StringThe name of the shared access key.
accessSecret
Type: System.StringThe access secret.
Return Value
Type: System.String
The created connection string.
See Also
ConnectionString Class
Microsoft.WindowsAzure.Messaging Namespace
Return to top