HierarchyInfo.Connection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the connection associated with the node.
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
Property Value
The Connection that represents the connection for the node.
Examples
The following example implements the Connection property.
protected override Connection Connection
{
get
{
Connection connection = (Connection)GetService(typeof(Connection));
return connection;
}
}
if (this.IsConnected())
MyNotifyCon();