共用方式為


NumberOfElements 屬性

Gets the number of elements in the event set.

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

語法

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

屬性值

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