Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Credential Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the Credential class.

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

NameDescription
System_CAPS_pubmethodCredential()

Initializes a new instance of the Credential class.

System_CAPS_pubmethodCredential(Server, String)

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

Return to top

Credential Constructor ()

Initializes a new instance of the Credential class.

public Credential()

The default constructor initializes any fields to their default values.

Legacy Code Example

Return to top

Credential Constructor (Server, String)

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

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

A String value that specifies the name of the credential.

Legacy Code Example

Return to top
Show:
© 2015 Microsoft