Condividi tramite


ShareClientBuilderExtensions.AddFileServiceClient Method

Definition

Overloads

AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a ShareServiceClient instance with connection options loaded from the provided configuration instance.

AddFileServiceClient<TBuilder>(TBuilder, String)

Registers a ShareServiceClient instance with the provided connectionString

AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)

Registers a ShareServiceClient instance with the provided serviceUri and sharedKeyCredential

AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ShareClientBuilderExtensions.cs
Source:
ShareClientBuilderExtensions.cs

Registers a ShareServiceClient instance with connection options loaded from the provided configuration instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient,Azure.Storage.Files.Shares.ShareClientOptions> AddFileServiceClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddFileServiceClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient, Azure.Storage.Files.Shares.ShareClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddFileServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ShareServiceClient, ShareClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder
configuration
TConfiguration

Returns

Applies to

AddFileServiceClient<TBuilder>(TBuilder, String)

Source:
ShareClientBuilderExtensions.cs
Source:
ShareClientBuilderExtensions.cs

Registers a ShareServiceClient instance with the provided connectionString

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient,Azure.Storage.Files.Shares.ShareClientOptions> AddFileServiceClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddFileServiceClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient, Azure.Storage.Files.Shares.ShareClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddFileServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of ShareServiceClient, ShareClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
connectionString
String

Returns

Applies to

AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)

Source:
ShareClientBuilderExtensions.cs
Source:
ShareClientBuilderExtensions.cs

Registers a ShareServiceClient instance with the provided serviceUri and sharedKeyCredential

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient,Azure.Storage.Files.Shares.ShareClientOptions> AddFileServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddFileServiceClient : 'Builder * Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient, Azure.Storage.Files.Shares.ShareClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddFileServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, serviceUri As Uri, sharedKeyCredential As StorageSharedKeyCredential) As IAzureClientBuilder(Of ShareServiceClient, ShareClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential

Returns

Applies to