共用方式為


Server.Attach Method

Definition

Overloads

Attach(String)

Attaches a folder to the server.

Attach(String, ReadWriteMode)

Attaches a folder to the server with specified mode.

Attach(String, ReadWriteMode, String)

Attaches a folder to the server with specified mode and password.

Attach(String)

Attaches a folder to the server.

public void Attach (string folder);
member this.Attach : string -> unit
Public Sub Attach (folder As String)

Parameters

folder
String

A String containing the folder to attach.

Applies to

Attach(String, ReadWriteMode)

Attaches a folder to the server with specified mode.

public void Attach (string folder, Microsoft.AnalysisServices.ReadWriteMode readWriteMode);
member this.Attach : string * Microsoft.AnalysisServices.ReadWriteMode -> unit
Public Sub Attach (folder As String, readWriteMode As ReadWriteMode)

Parameters

folder
String

A String containing the folder to attach.

readWriteMode
ReadWriteMode

The read/write mode.

Applies to

Attach(String, ReadWriteMode, String)

Attaches a folder to the server with specified mode and password.

public void Attach (string folder, Microsoft.AnalysisServices.ReadWriteMode readWriteMode, string password);
member this.Attach : string * Microsoft.AnalysisServices.ReadWriteMode * string -> unit
Public Sub Attach (folder As String, readWriteMode As ReadWriteMode, password As String)

Parameters

folder
String

A String containing the folder to attach.

readWriteMode
ReadWriteMode

The read/write mode.

password
String

The password.

Applies to