Condividi tramite


Proprietà ViewEventSet.NumberOfElements

Gets or sets a Boolean property value that specifies whether the event that occurs when the number of elements changes is included in the event set.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Overrides ReadOnly Property NumberOfElements As Integer 
    Get
'Utilizzo
Dim instance As ViewEventSet 
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

Valore proprietà

Tipo: System.Int32
A Boolean value that specifies whether the NumberOfElements event is included in the event set.If True, the NumberOfElements event is included in the event set.If False (default), the NumberOfElements event is not included in the event set.

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ViewEventSet Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo