JsonScripter.ScriptDetach Method

Definition

Overloads

ScriptDetach(Database)

Creates a script to detach the database.

ScriptDetach(Database, String)

Creates a script to detach the database.

ScriptDetach(Database)

Creates a script to detach the database.

public static string ScriptDetach (Microsoft.AnalysisServices.Core.Database db);
static member ScriptDetach : Microsoft.AnalysisServices.Core.Database -> string
Public Shared Function ScriptDetach (db As Database) As String

Parameters

db
Database

Name of a Tabular database.

Returns

String

System.String containing a scripted Detach command.

Applies to

ScriptDetach(Database, String)

Creates a script to detach the database.

public static string ScriptDetach (Microsoft.AnalysisServices.Core.Database db, string password);
static member ScriptDetach : Microsoft.AnalysisServices.Core.Database * string -> string
Public Shared Function ScriptDetach (db As Database, password As String) As String

Parameters

db
Database

Name of a Tabular database.

password
String

The password to detach the database.

Returns

String

System.String containing a scripted Detach command.

Applies to