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) |
Creates a script to attach a given folder. |
| ScriptAttach(String, ReadWriteMode) |
Creates a script to attach a given folder. |
| ScriptAttach(String, ReadWriteMode, String) |
Creates a script to attach a given folder. |
ScriptAttach(String)
Creates a script to attach a given folder.
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 to attach.
Returns
System.String containing the Attach script.
Applies to
ScriptAttach(String, ReadWriteMode)
Creates a script to attach a given folder.
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 to attach.
- readWriteMode
- ReadWriteMode
The read/write mode of the database.
Returns
System.String containing the Attach script.
Applies to
ScriptAttach(String, ReadWriteMode, String)
Creates a script to attach a given folder.
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 to attach.
- readWriteMode
- ReadWriteMode
The read/write mode of the database.
- password
- String
The password.
Returns
System.String containing the Attach script.