Server.Connect Method (String, Boolean)
Connects the current instance of Server to the Analysis Services server using the specified connection string and properties.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Connect ( _
connectionString As String, _
propertiesOnly As Boolean _
)
'Usage
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
)
Parameters
- connectionString
Type: System.String
The connection string.
- propertiesOnly
Type: System.Boolean
The properties.