Credential.Create Method (String, SecureString)
Creates a credential on the instance of SQL Server as defined by the Credential object.
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.Security.SecureString
A SecureString value that specifies the password for the credential.
Show: