JsonScripter.ScriptAttach Method

Definition

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

String

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

String

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

String

System.String containing the Attach script.

Applies to