Server.Connect 方法 (String, String)

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub Connect ( _
    connectionString As String, _
    sessionId As String _
)
用法
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
)

参数

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

请参阅

参考

Server 类

Connect 重载

Microsoft.AnalysisServices 命名空间