Credential.Create Credential.Create Credential.Create Method

Definition

Creates a credential on the instance of SQL Server as defined by the Credential object.

Overloads

Create() Create() Create()

Creates a credential on the instance of SQL Server as defined by the Credential object.

Create(String) Create(String) Create(String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

Create(String, SecureString) Create(String, SecureString) Create(String, SecureString)

Creates a credential on the instance of SQL Server as defined by the Credential object.

Create(String, String) Create(String, String) Create(String, String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

Create() Create() Create()

Creates a credential on the instance of SQL Server as defined by the Credential object.

public:
 virtual void Create();
public void Create ();
Public Sub Create ()

Examples

Calling Methods

Create(String) Create(String) Create(String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

public:
 void Create(System::String ^ identity);
public void Create (string identity);
Public Sub Create (identity As String)
Parameters
identity
String String String

A String value that specifies the name of the credential.

Examples

Calling Methods

Create(String, SecureString) Create(String, SecureString) Create(String, SecureString)

Creates a credential on the instance of SQL Server as defined by the Credential object.

public:
 void Create(System::String ^ identity, System::Security::SecureString ^ secret);
public void Create (string identity, System.Security.SecureString secret);
Public Sub Create (identity As String, secret As SecureString)
Parameters
identity
String String String

A String value that specifies the name of the credential.

secret
SecureString SecureString SecureString

A SecureString value that specifies the password for the credential.

Examples

Calling Methods

Create(String, String) Create(String, String) Create(String, String)

Creates a credential on the instance of SQL Server as defined by the Credential object.

public:
 void Create(System::String ^ identity, System::String ^ secret);
public void Create (string identity, string secret);
Public Sub Create (identity As String, secret As String)
Parameters
identity
String String String

A String value that specifies the name of the credential.

secret
String String String

A String value that specifies the password for the credential.

Examples

Calling Methods

Applies to