Language

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
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 user.

password
System.Security.SecureString

The windows password.

Returns

System.String

The created connection string.

Applies to