Language

ServiceBusConnectionStringBuilder.CreateUsingOAuthCredential Method

Definition

Creates a connection string using authentication credentials.

public static string CreateUsingOAuthCredential(System.Collections.Generic.IEnumerable<Uri> endpoints, System.Collections.Generic.IEnumerable<Uri> stsEndpoints, int runtimePort, int managementPort, string domain, string user, System.Security.SecureString password);
static member CreateUsingOAuthCredential : seq<Uri> * seq<Uri> * int * int * string * string * System.Security.SecureString -> string
Public Shared Function CreateUsingOAuthCredential (endpoints As IEnumerable(Of Uri), stsEndpoints As IEnumerable(Of Uri), runtimePort As Integer, managementPort As Integer, domain As String, user As String, password As SecureString) As String

Parameters

endpoints
System.Collections.Generic.IEnumerable<System.Uri>

The set of endpoints.

stsEndpoints
System.Collections.Generic.IEnumerable<System.Uri>

The set of security token service endpoints.

runtimePort
System.Int32

The runtime port.

managementPort
System.Int32

The management port.

domain
System.String

The domain where the connection will be established.

user
System.String

The authentication user.

password
System.Security.SecureString

The authentication password.

Returns

System.String

The created service bus connection string.

Applies to