Any suggestions? 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: System.String

A String value that specifies the name of the credential.

secret
Type: System.Security.SecureString

A SecureString value that specifies the password for the credential.

Return to top
Show:
© 2016 Microsoft