다음을 통해 공유


CatalogOperationsExtensions.CreateCredential Method

Definition

Creates the specified credential for use with external data sources in the specified database.

public static void CreateCredential (this Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations operations, string accountName, string databaseName, string credentialName, Microsoft.Azure.Management.DataLake.Analytics.Models.DataLakeAnalyticsCatalogCredentialCreateParameters parameters);
static member CreateCredential : Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.DataLakeAnalyticsCatalogCredentialCreateParameters -> unit
<Extension()>
Public Sub CreateCredential (operations As ICatalogOperations, accountName As String, databaseName As String, credentialName As String, parameters As DataLakeAnalyticsCatalogCredentialCreateParameters)

Parameters

operations
ICatalogOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Analytics account upon which to execute catalog operations.

databaseName
String

The name of the database in which to create the credential. Note: This is NOT an external database name, but the name of an existing U-SQL database that should contain the new credential object.

credentialName
String

The name of the credential.

parameters
DataLakeAnalyticsCatalogCredentialCreateParameters

The parameters required to create the credential (name and password)

Applies to