Delen via


Office365LinkedService(Object, Object, Object, SecretBase) Constructor

Definition

Initializes a new instance of Office365LinkedService.

public Office365LinkedService (object office365TenantId, object servicePrincipalTenantId, object servicePrincipalId, Azure.Analytics.Synapse.Artifacts.Models.SecretBase servicePrincipalKey);
new Azure.Analytics.Synapse.Artifacts.Models.Office365LinkedService : obj * obj * obj * Azure.Analytics.Synapse.Artifacts.Models.SecretBase -> Azure.Analytics.Synapse.Artifacts.Models.Office365LinkedService
Public Sub New (office365TenantId As Object, servicePrincipalTenantId As Object, servicePrincipalId As Object, servicePrincipalKey As SecretBase)

Parameters

office365TenantId
Object

Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string).

servicePrincipalTenantId
Object

Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).

servicePrincipalId
Object

Specify the application's client ID. Type: string (or Expression with resultType string).

servicePrincipalKey
SecretBase

Specify the application's key. Please note SecretBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureKeyVaultSecretReference and SecureString.

Exceptions

office365TenantId, servicePrincipalTenantId, servicePrincipalId or servicePrincipalKey is null.

Applies to