Server.Connected Property

Gets a value indicating whether there is a connection to an instance of Analysis Services.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Connected As Boolean 
    Get
'Usage
Dim instance As Server 
Dim value As Boolean 

value = instance.Connected
[BrowsableAttribute(false)]
public bool Connected { get; }
[BrowsableAttribute(false)]
public:
property bool Connected {
    bool get ();
}
[<BrowsableAttribute(false)>]
member Connected : bool
function get Connected () : boolean

Property Value

Type: System.Boolean
true if a connection exists; otherwise, false.

See Also

Reference

Server Class

Microsoft.AnalysisServices Namespace