Share via


JobServer.SetHostLoginAccount 메서드

Sets the SQL Server authentication account and password used to log in to SQL Server.

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

구문

‘선언
Public Sub SetHostLoginAccount ( _
    loginName As String, _
    password As String _
)
‘사용 방법
Dim instance As JobServer 
Dim loginName As String 
Dim password As String

instance.SetHostLoginAccount(loginName, _
    password)
public void SetHostLoginAccount(
    string loginName,
    string password
)
public:
void SetHostLoginAccount(
    String^ loginName, 
    String^ password
)
member SetHostLoginAccount : 
        loginName:string * 
        password:string -> unit
public function SetHostLoginAccount(
    loginName : String, 
    password : String
)

매개 변수

  • loginName
    유형: System.String
    A String value that specifies the SQL Server Authentication login name.
  • password
    유형: System.String
    A String value that specifies the SQL Server Authentication password.

주의

이 속성은 SQL Server 7.0과 SQL Server 2000에서만 지원됩니다.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

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

관련 자료

관리 태스크 자동화(SQL Server 에이전트)