Export (0) Print
Expand All

Credential Constructor (Server, String)

Initializes a new instance of the Credential class on the specified instance of SQL Server and with the specified name.

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

public Credential(
	Server server,
	string name


Type: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies instance of SQL Server on which the credential is created.
Type: String
A String value that specifies the name of the credential.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft