Database.ReauthorizeRemoteDataArchiveConnection(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)