ServerEvents.SetCredentials 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub SetCredentials ( _
    username As String, _
    password As String _
)
‘사용 방법
Dim instance As ServerEvents 
Dim username As String 
Dim password As String

instance.SetCredentials(username, password)
public void SetCredentials(
    string username,
    string password
)
public:
void SetCredentials(
    String^ username, 
    String^ password
)
member SetCredentials : 
        username:string * 
        password:string -> unit
public function SetCredentials(
    username : String, 
    password : String
)

매개 변수

SMO 이벤트 처리

참고 항목

참조

ServerEvents 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스