LinkedServerLogin.SetRemotePassword 메서드 (SecureString)

Sets the password for an alternative login name used when a distributed query or another SQL Server process accesses data on a linked server using an OLE DB Provider.

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

구문

‘선언
Public Sub SetRemotePassword ( _
    password As SecureString _
)
‘사용 방법
Dim instance As LinkedServerLogin 
Dim password As SecureString

instance.SetRemotePassword(password)
public void SetRemotePassword(
    SecureString password
)
public:
void SetRemotePassword(
    SecureString^ password
)
member SetRemotePassword : 
        password:SecureString -> unit
public function SetRemotePassword(
    password : SecureString
)

매개 변수

주의

This property is only valid when the Impersonate property is set to the value True.

SMO에서 연결된 서버 사용

참고 항목

참조

LinkedServerLogin 클래스

SetRemotePassword 오버로드

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

관련 자료

연결된 서버(데이터베이스 엔진)

sp_addlinkedsrvlogin(Transact-SQL)