次の方法で共有


HierarchyInfo.Connection プロパティ

定義

ノードに関連付けられている接続を取得します。

protected public:
 virtual property Microsoft::Web::Management::Client::Connection ^ Connection { Microsoft::Web::Management::Client::Connection ^ get(); };
protected internal virtual Microsoft.Web.Management.Client.Connection Connection { get; }
member this.Connection : Microsoft.Web.Management.Client.Connection
Protected Friend Overridable ReadOnly Property Connection As Connection

プロパティ値

Connectionノードの接続を表す 。

次の例では、 プロパティを Connection 実装します。

protected override Connection Connection
{
    get
    {
        Connection connection = (Connection)GetService(typeof(Connection));
        return connection;
    }
}
if (this.IsConnected())
    MyNotifyCon();

適用対象