Partilhar via


Propriedade do RDL Count

Gets the number of ServerProtocol objects in the referenced collection.

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

Sintaxe

'Declaração
Public ReadOnly Property Count As Integer
    Get
'Uso
Dim instance As ServerProtocolCollection
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 ServerProtocol objects in the referenced collection.

Implementa

ICollection. . :: . .Count