Server.Connect 方法 (String, Boolean)
Connects the current instance of Server to the Analysis Services server using the specified connection string and properties.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub Connect ( _
connectionString As String, _
propertiesOnly As Boolean _
)
'用途
Dim instance As Server
Dim connectionString As String
Dim propertiesOnly As Boolean
instance.Connect(connectionString, propertiesOnly)
public void Connect(
string connectionString,
bool propertiesOnly
)
public:
void Connect(
String^ connectionString,
bool propertiesOnly
)
member Connect :
connectionString:string *
propertiesOnly:bool -> unit
public function Connect(
connectionString : String,
propertiesOnly : boolean
)
參數
- connectionString
型別:System.String
The connection string.
- propertiesOnly
型別:System.Boolean
The properties.