Export (0) Print
Expand All

Credential.Alter Method (String, SecureString)

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

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

public void Alter(
	string identity,
	SecureString secret


Type: String
A String value that specifies the name of the credential.
Type: SecureString
A SecureString value that specifies the password for the credential.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft