Credential.Create Method (String, String)
SQL Server 2012
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)
Parameters
- identity
- Type: System.String
A String value that specifies the name of the credential.
- secret
- Type: System.String
A String value that specifies the password for the credential.
