Export (0) Print
Expand All

Credential.Create Method (String, SecureString)

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,
	SecureString secret
)

Parameters

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

Community Additions

ADD
Show:
© 2014 Microsoft