共用方式為


Database.ReauthorizeRemoteDataArchiveConnection(String, Boolean) Method

Definition

Reauthorize a stretched database with the SQL Azure server after the database is restored from a backup

public void ReauthorizeRemoteDataArchiveConnection (string credentialName, bool withCopy = true);
member this.ReauthorizeRemoteDataArchiveConnection : string * bool -> unit
Public Sub ReauthorizeRemoteDataArchiveConnection (credentialName As String, Optional withCopy As Boolean = true)

Parameters

credentialName
String

The name of the credential to use for re-authorization

withCopy
Boolean

A boolean flag to indicate if the remote stretched database should be duplicated (true by default)

Applies to