ShareClientBuilderExtensions.AddFileServiceClient Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Inscrit un ShareServiceClient instance avec des options de connexion chargées à partir du instance fourni |
AddFileServiceClient<TBuilder>(TBuilder, String) |
Inscrit un ShareServiceClient instance avec le fourni |
AddFileServiceClient<TBuilder>(TBuilder, Uri) |
Inscrit un ShareServiceClient instance avec le fourni |
AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential) |
Inscrit un ShareServiceClient instance avec le et fourni |
AddFileServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Inscrit un ShareServiceClient instance avec des options de connexion chargées à partir du instance fourni 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)
Paramètres de type
- TBuilder
- TConfiguration
Paramètres
- builder
- TBuilder
- configuration
- TConfiguration
Retours
S’applique à
AddFileServiceClient<TBuilder>(TBuilder, String)
Inscrit un ShareServiceClient instance avec le fourniconnectionString
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- connectionString
- String
Retours
S’applique à
AddFileServiceClient<TBuilder>(TBuilder, Uri)
Inscrit un ShareServiceClient instance avec le fourniserviceUri
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- serviceUri
- Uri
Retours
S’applique à
AddFileServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)
Inscrit un ShareServiceClient instance avec le et fourni serviceUri
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- serviceUri
- Uri
- sharedKeyCredential
- StorageSharedKeyCredential
Retours
S’applique à
Azure SDK for .NET