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.