Credential.Alter Credential.Alter Credential.Alter Method

Definition

Updates any Credential object property changes on instance of SQL Server.

Overloads

Alter() Alter() Alter()

Updates any Credential object property changes on instance of SQL Server.

Alter(String) Alter(String) Alter(String)

Updates any Credential object property changes on instance of SQL Server.

Alter(String, SecureString) Alter(String, SecureString) Alter(String, SecureString)

Updates any Credential object property changes on instance of SQL Server.

Alter(String, String) Alter(String, String) Alter(String, String)

Updates any Credential object property changes on instance of SQL Server.

Alter() Alter() Alter()

Updates any Credential object property changes on instance of SQL Server.

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

Examples

Calling Methods

Remarks

The Alter method updates any changes that have been made to the Credential object's properties since the Credential object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

Alter(String) Alter(String) Alter(String)

Updates any Credential object property changes on instance of SQL Server.

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

A String value that specifies the name of the credential.

Examples

Calling Methods

Remarks

The Alter method updates any changes that have been made to the Credential object's properties since the Credential object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

Alter(String, SecureString) Alter(String, SecureString) Alter(String, SecureString)

Updates any Credential object property changes on instance of SQL Server.

public:
 void Alter(System::String ^ identity, System::Security::SecureString ^ secret);
public void Alter (string identity, System.Security.SecureString secret);
Public Sub Alter (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

Remarks

The Alter method updates any changes that have been made to the Credential object's properties since the Credential object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

Alter(String, String) Alter(String, String) Alter(String, String)

Updates any Credential object property changes on instance of SQL Server.

public:
 void Alter(System::String ^ identity, System::String ^ secret);
public void Alter (string identity, string secret);
Public Sub Alter (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 of the credential.

Examples

Calling Methods

Remarks

The Alter method updates any changes that have been made to the Credential object's properties since the Credential object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

Applies to