مشاركة عبر


Server.Connect Method (String, String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Connect ( _
    connectionString As String, _
    sessionId As String _
)
'Usage
Dim instance As Server 
Dim connectionString As String 
Dim sessionId As String

instance.Connect(connectionString, sessionId)
public void Connect(
    string connectionString,
    string sessionId
)
public:
void Connect(
    String^ connectionString, 
    String^ sessionId
)
member Connect : 
        connectionString:string * 
        sessionId:string -> unit
public function Connect(
    connectionString : String, 
    sessionId : String
)

Parameters

  • connectionString
    Type: System.String
    The connection string used to connect to the Analysis Services server.

See Also

Reference

Server Class

Connect Overload

Microsoft.AnalysisServices Namespace