共用方式為


IsRootNode 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property IsRootNode As Boolean
    Get
    Set
'用途
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)

屬性值

型別: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.

範例

指令碼