Sdílet prostřednictvím


ServiceBusConnectionStringBuilder.CreateUsingWindowsCredential Method

Definition

Creates a connection string using Windows credentials.

public static string CreateUsingWindowsCredential (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 CreateUsingWindowsCredential : seq<Uri> * seq<Uri> * int * int * string * string * System.Security.SecureString -> string
Public Shared Function CreateUsingWindowsCredential (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
IEnumerable<Uri>

The set of endpoints

stsEndpoints
IEnumerable<Uri>

The set of security token service endpoints.

runtimePort
Int32

The runtime port.

managementPort
Int32

The management port.

domain
String

The domain where the connection will be established.

user
String

The user.

password
SecureString

The windows password.

Returns

The created connection string.

Applies to