Share via


Propriété Count

Gets the number of objects in the referenced collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Count As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

ICollection. . :: . .Count

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.