Aracılığıyla paylaş


ServerTraceEventSet.NumberOfElements Property

Gets the number of elements in the event set.

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

Syntax

'Bildirim
Public Overrides ReadOnly Property NumberOfElements As Integer
    Get
'Kullanım
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

Property Value

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

Remarks

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

Examples

Handling SMO Events

See Also

Reference

ServerTraceEventSet Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Tracing and Replaying Events

SQL Server Event Class Reference