共用方式為


ProviderShareSubscriptionsOperationsExtensions.GetByShareAsync Method

Definition

Get share subscription in a provider share.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription> GetByShareAsync (this Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareName, string providerShareSubscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member GetByShareAsync : Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription>
<Extension()>
Public Function GetByShareAsync (operations As IProviderShareSubscriptionsOperations, resourceGroupName As String, accountName As String, shareName As String, providerShareSubscriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProviderShareSubscription)

Parameters

operations
IProviderShareSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareName
String

The name of the share.

providerShareSubscriptionId
String

To locate shareSubscription

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get share subscription in a provider share

Applies to