共用方式為


UserDefinedFunctionEventSet.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.

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

語法

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

範例

處理 SMO 事件

請參閱

參考

UserDefinedFunctionEventSet 類別

Microsoft.SqlServer.Management.Smo 命名空間