共用方式為


NumberOfElements 屬性

Gets the number of events included in the event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Overrides ReadOnly Property NumberOfElements As Integer
    Get
'用途
Dim instance As DatabaseEventSet
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

屬性值

型別:System. . :: . .Int32
A Int32 value that specifies the number of events in the event set.