Поделиться через


Свойство Count

Gets the number of ServerInstance objects in the referenced collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Wmi
Сборка:  Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)

Синтаксис

'Декларация
Public ReadOnly Property Count As Integer
    Get
'Применение
Dim instance As ServerInstanceCollection
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 ServerInstance objects in the referenced collection.

Реализует

ICollection. . :: . .Count