Compartir a través de


Count Propiedad

Gets the number of objects in the referenced collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public ReadOnly Property Count As Integer
    Get
'Uso
Dim instance As ServerGroupCollection
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

Valor de la propiedad

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

Implementa

ICollection. . :: . .Count

Ejemplos

Usar colecciones