Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Credential.Create Method (String, String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Create(
	string identity,
	string secret
)

Parameters

identity
Type: String
A String value that specifies the name of the credential.
secret
Type: String
A String value that specifies the password for the credential.

Community Additions

Show:
© 2015 Microsoft