Udostępnij za pośrednictwem


Metoda Credential.Alter (String, String)

Dowolny Credential zmiany właściwość obiektu na wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Sub Alter ( _
    identity As String, _
    secret As String _
)
'Użycie
Dim instance As Credential
Dim identity As String
Dim secret As String

instance.Alter(identity, secret)
public void Alter(
    string identity,
    string secret
)
public:
void Alter(
    String^ identity, 
    String^ secret
)
member Alter : 
        identity:string * 
        secret:string -> unit 
public function Alter(
    identity : String, 
    secret : String
)

Parametry

  • secret
    Typ: System.String
    A String wartość, która określa hasło dostępu do poświadczeń.

Uwagi

Alter Metoda aktualizuje wszystkie zmiany wprowadzone do Credential Właściwości obiektu od Credential obiekt został utworzony lub od czasu ostatniego Alter instrukcja.Modyfikacje są łączone i wysyłane do wystąpienie SQL Server w podróż jednej sieci do wystąpienie SQL Server.

Przykłady

Wywołanie metody