Partager via


Propriété NumberOfElements

Gets the number of events in the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Overrides ReadOnly Property NumberOfElements As Integer
    Get
'Utilisation
Dim instance As ServerEventSet
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

Valeur de propriété

Type : System. . :: . .Int32
A Int32 value that specifies the number of events in the Server event set.