다음을 통해 공유


AddLogin 메서드

Adds a Microsoft Windows login account to the proxy account.

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

구문

‘선언
Public Sub AddLogin ( _
    loginName As String _
)
‘사용 방법
Dim instance As ProxyAccount
Dim loginName As String

instance.AddLogin(loginName)
public void AddLogin(
    string loginName
)
public:
void AddLogin(
    String^ loginName
)
member AddLogin : 
        loginName:string -> unit 
public function AddLogin(
    loginName : String
)

매개 변수

  • loginName
    유형: System. . :: . .String
    A String value that specifies the Windows login account that is associated with the proxy account.