共用方式為


Server.Connect 方法 (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 _
)
'用途
Dim instance As Server 
Dim connectionString As String

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

參數

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

請參閱

參考

Server 類別

Connect 多載

Microsoft.AnalysisServices 命名空間