SetRemotePassword 方法 (String)
Sets the password 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.