Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Encrypts the service master key with the new, specified credentials.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub ChangeAccount ( _
newAccount As String, _
newPassword As String _
)
'Usage
Dim instance As ServiceMasterKey
Dim newAccount As String
Dim newPassword As String
instance.ChangeAccount(newAccount, newPassword)
public void ChangeAccount(
string newAccount,
string newPassword
)
public:
void ChangeAccount(
String^ newAccount,
String^ newPassword
)
member ChangeAccount :
newAccount:string *
newPassword:string -> unit
public function ChangeAccount(
newAccount : String,
newPassword : String
)
Parameter
- newAccount
Typ: System.String
A String value that specifies the account with which to open the service master key.
- newPassword
Typ: System.String
A String value that specifies the associated password for the account which is used to open the service master key.
Beispiele
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace