AdlsClient.CreateClient Method

Definition

Overloads

CreateClient(String, ServiceClientCredentials)

Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.

CreateClient(String, String)

Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.

CreateClient(String, ServiceClientCredentials)

Factory method that creates an instance of AdlsClient using ServiceClientCredential. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.

public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, Microsoft.Rest.ServiceClientCredentials creds);
static member CreateClient : string * Microsoft.Rest.ServiceClientCredentials -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, creds As ServiceClientCredentials) As AdlsClient

Parameters

accountFqdn
System.String

Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)

creds
ServiceClientCredentials

Credentials that retrieves the Auth token

Returns

AdlsClient

AdlsClient

Applies to

CreateClient(String, String)

Factory method that creates an instance AdlsClient using the token key. If an application wants to perform multi-threaded operations using this SDK it is highly recomended to set ServicePointManager.DefaultConnectionLimit to the number of threads application wants the sdk to use before creating any instance of AdlsClient. By default ServicePointManager.DefaultConnectionLimit is set to 2.

public static Microsoft.Azure.DataLake.Store.AdlsClient CreateClient (string accountFqdn, string token);
static member CreateClient : string * string -> Microsoft.Azure.DataLake.Store.AdlsClient
Public Shared Function CreateClient (accountFqdn As String, token As String) As AdlsClient

Parameters

accountFqdn
System.String

Azure data lake store account name including full domain name (e.g. contoso.azuredatalakestore.net)

token
System.String

Full authorization Token e.g. Bearer abcddsfere.....

Returns

AdlsClient

AdlsClient

Applies to