Freigeben über


NumberOfElements-Eigenschaft

Gets the number of elements in the event set.

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

Syntax

'Declaration
Public Overrides ReadOnly Property NumberOfElements As Integer
    Get
'Usage
Dim instance As ServerTraceEventSet
Dim value As Integer

value = instance.NumberOfElements
public override int NumberOfElements { get; }
public:
virtual property int NumberOfElements {
    int get () override;
}
abstract NumberOfElements : int
override NumberOfElements : int
override function get NumberOfElements () : int

Eigenschaftswert

Typ: System. . :: . .Int32
An Int32 value that specifies the number of elements in the event set.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.