User.ChangePassword 方法 (String)
Changes the user password.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub ChangePassword ( _
newPassword As String _
)
'用途
Dim instance As User
Dim newPassword As String
instance.ChangePassword(newPassword)
public void ChangePassword(
string newPassword
)
public:
void ChangePassword(
String^ newPassword
)
member ChangePassword :
newPassword:string -> unit
public function ChangePassword(
newPassword : String
)
參數
- newPassword
型別:System.String
The user’s new password.