共用方式為


Connected 屬性

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property Connected As Boolean
    Get
'用途
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

屬性值

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