Freigeben über


Count-Eigenschaft

Gets the number of objects in the referenced collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
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

Eigenschaftswert

Typ: System. . :: . .Int32
An Int32 value that specifies the number of objects in the referenced collection.

Implementiert

ICollection. . :: . .Count

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.