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


Свойство Count

Gets the number of objects in the referenced collection.

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

Синтаксис

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

Реализует

ICollection. . :: . .Count

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.