SpecializedFileExtensions.GetShareLeaseClient メソッド

定義

オーバーロード

GetShareLeaseClient(ShareClient, String)

ShareLeaseClient クラスの新しいインスタンスを初期化します。

GetShareLeaseClient(ShareFileClient, String)

ShareLeaseClient クラスの新しいインスタンスを初期化します。

GetShareLeaseClient(ShareClient, String)

ソース:
ShareLeaseClient.cs
ソース:
ShareLeaseClient.cs

ShareLeaseClient クラスの新しいインスタンスを初期化します。

public static Azure.Storage.Files.Shares.Specialized.ShareLeaseClient GetShareLeaseClient (this Azure.Storage.Files.Shares.ShareClient client, string leaseId = default);
static member GetShareLeaseClient : Azure.Storage.Files.Shares.ShareClient * string -> Azure.Storage.Files.Shares.Specialized.ShareLeaseClient
<Extension()>
Public Function GetShareLeaseClient (client As ShareClient, Optional leaseId As String = Nothing) As ShareLeaseClient

パラメーター

client
ShareClient

ShareClientリースされている共有を表す 。

leaseId
String

オプションのリース ID。 リース ID が指定されていない場合は、ランダムなリース ID が作成されます。

戻り値

適用対象

GetShareLeaseClient(ShareFileClient, String)

ソース:
ShareLeaseClient.cs
ソース:
ShareLeaseClient.cs

ShareLeaseClient クラスの新しいインスタンスを初期化します。

public static Azure.Storage.Files.Shares.Specialized.ShareLeaseClient GetShareLeaseClient (this Azure.Storage.Files.Shares.ShareFileClient client, string leaseId = default);
static member GetShareLeaseClient : Azure.Storage.Files.Shares.ShareFileClient * string -> Azure.Storage.Files.Shares.Specialized.ShareLeaseClient
<Extension()>
Public Function GetShareLeaseClient (client As ShareFileClient, Optional leaseId As String = Nothing) As ShareLeaseClient

パラメーター

client
ShareFileClient

ShareFileClientリースされるファイルを表す 。

leaseId
String

オプションのリース ID。 リース ID が指定されていない場合は、ランダムなリース ID が作成されます。

戻り値

適用対象