ServerTraceEventSet.NumberOfElements 屬性
Gets the number of elements 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 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
屬性值
型別:System.Int32
An Int32 value that specifies the number of elements in the event set.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間