Dela via


DependencyCollectionNode.IsRootNode Property

Gets the Boolean property value that specifies whether the DependencyCollectionNode object represents the root node in the collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property IsRootNode As Boolean
    Get
    Set
'Usage
Dim instance As DependencyCollectionNode
Dim value As Boolean

value = instance.IsRootNode

instance.IsRootNode = value
public bool IsRootNode { get; set; }
public:
property bool IsRootNode {
    bool get ();
    void set (bool value);
}
member IsRootNode : bool with get, set
function get IsRootNode () : boolean
function set IsRootNode (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether the DependencyCollectionNode object represents the root node in the dependency collection.
If True, the DependencyCollectionNode is the root node.
If False (default), the DependencyCollectionNode is not the root node.

Examples

Scripting