Export (0) Print
Expand All

ServerEvents.SetCredentials Method

Sets the credentials required by the instance of Microsoft SQL Server.

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

public void SetCredentials(
	string username,
	string password
)

Parameters

username
Type: String
A String value that specifies the login account name.
password
Type: String
A String value that specifies the password for the login.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft