Megosztás a következőn keresztül:


Server.Connect Method

Definition

Overloads

Connect(String, String)

Connects the current instance of Server to the Analysis Services server, using the specified connection string and session identifier.

Connect(String)

Connects the current instance of Server to the Analysis Services server, using the specified connection string.

Connect(String, Boolean)

Connects the current instance of Server to the Analysis Services server using the specified connection string and properties-only indication.

Connect(String, String)

Connects the current instance of Server to the Analysis Services server, using the specified connection string and session identifier.

public void Connect (string connectionString, string sessionId);
member this.Connect : string * string -> unit
Public Sub Connect (connectionString As String, sessionId As String)

Parameters

connectionString
String

The connection-string used to establish the connection.

sessionId
String

The session to connect to.

Applies to

Connect(String)

Connects the current instance of Server to the Analysis Services server, using the specified connection string.

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

Parameters

connectionString
String

The connection-string used to establish the connection.

Applies to

Connect(String, Boolean)

Connects the current instance of Server to the Analysis Services server using the specified connection string and properties-only indication.

public void Connect (string connectionString, bool propertiesOnly);
member this.Connect : string * bool -> unit
Public Sub Connect (connectionString As String, propertiesOnly As Boolean)

Parameters

connectionString
String

The connection-string used to establish the connection.

propertiesOnly
Boolean

An indication if to get only object properties during connect.

Applies to