JsonScripter.ScriptDetach 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.
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
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
System.String containing a scripted Detach command.