ShareClientBuilderExtensions.AddFileServiceClient Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra uma ShareServiceClient instância com opções de conexão carregadas da instância fornecida |
AddFileServiceClient<TBuilder>(TBuilder, String) |
Registra uma ShareServiceClient instância com o fornecido |
AddFileServiceClient<TBuilder>(TBuilder, Uri) |
Registra uma ShareServiceClient instância com o fornecido |
AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential) |
Registra uma ShareServiceClient instância com o fornecido |
AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registra uma ShareServiceClient instância com opções de conexão carregadas da instância fornecida configuration
.
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)
Parâmetros de tipo
- TBuilder
- TConfiguration
Parâmetros
- builder
- TBuilder
- configuration
- TConfiguration
Retornos
Aplica-se a
AddFileServiceClient<TBuilder>(TBuilder, String)
Registra uma ShareServiceClient instância com o fornecido 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)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- connectionString
- String
Retornos
Aplica-se a
AddFileServiceClient<TBuilder>(TBuilder, Uri)
Registra uma ShareServiceClient instância com o fornecido serviceUri
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Files.Shares.ShareServiceClient,Azure.Storage.Files.Shares.ShareClientOptions> AddFileServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddFileServiceClient : 'Builder * Uri -> 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) As IAzureClientBuilder(Of ShareServiceClient, ShareClientOptions)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- serviceUri
- Uri
Retornos
Aplica-se a
AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)
Registra uma ShareServiceClient instância com o fornecido serviceUri
e 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)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- serviceUri
- Uri
- sharedKeyCredential
- StorageSharedKeyCredential
Retornos
Aplica-se a
Azure SDK for .NET