SharePointOnlineListLinkedService(Object, Object, Object, SecretBase) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SharePointOnlineListLinkedService.
public SharePointOnlineListLinkedService (object siteUrl, object tenantId, object servicePrincipalId, Azure.Analytics.Synapse.Artifacts.Models.SecretBase servicePrincipalKey);
new Azure.Analytics.Synapse.Artifacts.Models.SharePointOnlineListLinkedService : obj * obj * obj * Azure.Analytics.Synapse.Artifacts.Models.SecretBase -> Azure.Analytics.Synapse.Artifacts.Models.SharePointOnlineListLinkedService
Public Sub New (siteUrl As Object, tenantId As Object, servicePrincipalId As Object, servicePrincipalKey As SecretBase)
Parameters
- siteUrl
- Object
The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string).
- tenantId
- Object
The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string).
- servicePrincipalId
- Object
The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string).
- servicePrincipalKey
- SecretBase
The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). 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
siteUrl
, tenantId
, servicePrincipalId
or servicePrincipalKey
is null.
Applies to
Azure SDK for .NET