Udostępnij przez


Właściwość AncestorCount

Pobiera wartość, która wskazuje liczbę obiektów nadrzędnych węzła zależność. Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Deklaracja
Public ReadOnly Property AncestorCount As Integer
    Get
'Użycie
Dim instance As SfcDependencyNode
Dim value As Integer

value = instance.AncestorCount
public int AncestorCount { get; }
public:
property int AncestorCount {
    int get ();
}
member AncestorCount : int
function get AncestorCount () : int

Wartość właściwości

Typ: System. . :: . .Int32
Liczba całkowita, która reprezentuje liczbę obiektów nadrzędnych.