Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Credential Constructor (Server, String)
Collapse the table of content
Expand the table of content

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
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies instance of SQL Server on which the credential is created.
name
Type: String
A String value that specifies the name of the credential.

Community Additions

ADD
Show:
© 2015 Microsoft