共用方式為


Count 屬性

Gets the number of DependencyCollectionNode objects in the DependencyCollection object.

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

語法

'宣告
Public ReadOnly Property Count As Integer
    Get
'用途
Dim instance As DependencyCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int
override Count : int
final function get Count () : int

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the number of DependencyCollectionNode objects in the DependencyCollection object.

實作

ICollection< (Of < ( <'T> ) > ) >. . :: . .Count

範例

指令碼