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) |
Scripts out a given tabular database into a Detach command. |
ScriptDetach(Database, String) |
Scripts out a given tabular database into a Detach command while protecting it with a password. |
ScriptDetach(Database)
Scripts out a given tabular database into a Detach command.
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
The tabular database to script.
Returns
A String containing the Detach command.
Applies to
ScriptDetach(Database, String)
Scripts out a given tabular database into a Detach command while protecting it with a password.
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
The tabular database to script.
- password
- String
The password to protect the database.
Returns
A String containing the Detach command.