Share via


SnapIn.RootNode Property

 

Gets or sets the root of the scope namespace for the snap-in.

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

Syntax

public ScopeNode RootNode { get; set; }
public:
property ScopeNode^ RootNode {
    ScopeNode^ get();
    void set(ScopeNode^ value);
}
member RootNode : ScopeNode with get, set
Public Property RootNode As ScopeNode

Property Value

Type: Microsoft.ManagementConsole.ScopeNode

The root node for the snap-in. This value can never be a null value.

Remarks

Every standalone snap-in must have a root node. The root node has a special significance. One can create an entire tree of nodes in an offline mode. A node tree synchronizes with MMC only when it is merged under the root node. This provides the ability to operate effectively in an offline mode.

The RootNode property can never be set to a null value. The property may be retrieved or set before the snap-in is initialized. However, the console UI is not updated until the time of initialization.

See Also

SnapIn Class
Microsoft.ManagementConsole Namespace

Return to top