Share via


ShareResourcesClient Constructors

Definition

Overloads

ShareResourcesClient()

Initializes a new instance of ShareResourcesClient for mocking.

ShareResourcesClient(Uri, TokenCredential)

Initializes a new instance of ShareResourcesClient.

ShareResourcesClient(Uri, TokenCredential, PurviewShareClientOptions)

Initializes a new instance of ShareResourcesClient.

ShareResourcesClient()

Source:
ShareResourcesClient.cs

Initializes a new instance of ShareResourcesClient for mocking.

protected ShareResourcesClient ();
Protected Sub New ()

Applies to

ShareResourcesClient(Uri, TokenCredential)

Source:
ShareResourcesClient.cs

Initializes a new instance of ShareResourcesClient.

public ShareResourcesClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.Analytics.Purview.Sharing.ShareResourcesClient : Uri * Azure.Core.TokenCredential -> Azure.Analytics.Purview.Sharing.ShareResourcesClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

ShareResourcesClient(Uri, TokenCredential, PurviewShareClientOptions)

Source:
ShareResourcesClient.cs

Initializes a new instance of ShareResourcesClient.

public ShareResourcesClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Sharing.PurviewShareClientOptions options);
new Azure.Analytics.Purview.Sharing.ShareResourcesClient : Uri * Azure.Core.TokenCredential * Azure.Analytics.Purview.Sharing.PurviewShareClientOptions -> Azure.Analytics.Purview.Sharing.ShareResourcesClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As PurviewShareClientOptions)

Parameters

endpoint
Uri

The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
PurviewShareClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to