Condividi tramite


ProtocolPropertyCollection.Count Property

Gets the number of ProtocolProperty objects in the referenced collection.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Count As Integer
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
/** @property */
public final int get_Count ()
public final function get Count () : int

Valore proprietà

An Int32 value that specifies the number of ProtocolProperty objects in the referenced collection.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Esempio

How to: Iterate Through the Members of a Collection in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ProtocolPropertyCollection Class
ProtocolPropertyCollection Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace

Altre risorse

Using Collections