JsonScripter.ScriptAttach 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
ScriptAttach(String, ReadWriteMode) |
Scripts out a given information into a Attach command. |
ScriptAttach(String, ReadWriteMode, String) |
Scripts out a given information into a Attach command. |
ScriptAttach(String) |
Scripts out a given information into a Attach command. |
ScriptAttach(String, ReadWriteMode)
Scripts out a given information into a Attach command.
public static string ScriptAttach (string folder, Microsoft.AnalysisServices.ReadWriteMode readWriteMode);
static member ScriptAttach : string * Microsoft.AnalysisServices.ReadWriteMode -> string
Public Shared Function ScriptAttach (folder As String, readWriteMode As ReadWriteMode) As String
Parameters
- folder
- String
The folder with the database to attach.
- readWriteMode
- ReadWriteMode
The read/write mode of the database.
Returns
A String containing the Attach command.
Applies to
ScriptAttach(String, ReadWriteMode, String)
Scripts out a given information into a Attach command.
public static string ScriptAttach (string folder, Microsoft.AnalysisServices.ReadWriteMode readWriteMode, string password);
static member ScriptAttach : string * Microsoft.AnalysisServices.ReadWriteMode * string -> string
Public Shared Function ScriptAttach (folder As String, readWriteMode As ReadWriteMode, password As String) As String
Parameters
- folder
- String
The folder with the database to attach.
- readWriteMode
- ReadWriteMode
The read/write mode of the database.
- password
- String
The password.
Returns
A String containing the Attach command.
Applies to
ScriptAttach(String)
Scripts out a given information into a Attach command.
public static string ScriptAttach (string folder);
static member ScriptAttach : string -> string
Public Shared Function ScriptAttach (folder As String) As String
Parameters
- folder
- String
The folder with the database to attach.
Returns
A String containing the Attach command.