LinkedServerLogin.SetRemotePassword 메서드 (String)
Sets the password for an alternative logon 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 String _
)
‘사용 방법
Dim instance As LinkedServerLogin
Dim password As String
instance.SetRemotePassword(password)
public void SetRemotePassword(
string password
)
public:
void SetRemotePassword(
String^ password
)
member SetRemotePassword :
password:string -> unit
public function SetRemotePassword(
password : String
)
매개 변수
- password
유형: System.String
A String value that specifies the password that is used with the logon name specified in the RemoteUser property.
주의
This property is valid only when the Impersonate property is set to the value True.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스