Share via


EventSetBase.NumberOfElements Property

Gets the number of elements in the event set.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property NumberOfElements As Integer
    Get
'Usage
Dim instance As EventSetBase
Dim value As Integer

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

Property Value

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