Compartilhar via


Propriedade do RDL SmoCollectionBase.Count

Gets the number of objects in the referenced collection.

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

Sintaxe

'Declaração
Public ReadOnly Property Count As Integer 
    Get
'Uso
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

Valor da propriedade

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

Implementa

ICollection.Count

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Usando coleções

Consulte também

Referência

SmoCollectionBase Classe

Namespace Microsoft.SqlServer.Management.Smo