SetPassword 方法 (SecureString)
Sets the proxy account password to the specified secure string.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub SetPassword ( _
password As SecureString _
)
用法
Dim instance As ServerProxyAccount
Dim password As SecureString
instance.SetPassword(password)
public void SetPassword(
SecureString password
)
public:
void SetPassword(
SecureString^ password
)
member SetPassword :
password:SecureString -> unit
public function SetPassword(
password : SecureString
)
参数
- password
类型:System.Security. . :: . .SecureString
A SecureString value that specifies the password for the account.