Compartir a través de


RegisteredServerCollection.Count Propiedad

Gets the number of RegisteredServer objects in the 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 RegisteredServerCollection 
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 RegisteredServer objects in the collection.

Implementa

ICollection.Count

Ejemplos

Usar colecciones

Vea también

Referencia

RegisteredServerCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.RegisteredServers

Otros recursos

Usar colecciones