共用方式為


UserDefinedFunctionEvent 類別

The UserDefinedFunctionEvent object represents the SQL Server user-defined function events that can be included in a user-defined function event set.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent

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

語法

'宣告
Public NotInheritable Class UserDefinedFunctionEvent
'用途
Dim instance As UserDefinedFunctionEvent
public sealed class UserDefinedFunctionEvent
public ref class UserDefinedFunctionEvent sealed
[<SealedAttribute>]
type UserDefinedFunctionEvent =  class end
public final class UserDefinedFunctionEvent

UserDefinedFunctionEvent 型別公開下列成員。

屬性

  名稱 說明
公用屬性靜態成員 AlterFunction Gets a user-defined function event that can be included in the event set.
公用屬性靜態成員 DropFunction Gets a user-defined function event that can be included in the event set.

上層

方法

  名稱 說明
公用方法靜態成員 Add Adds two user defined function events to create a user defined function event set.
公用方法靜態成員 BitwiseOr Combines two user defined function events using a bitwise or to create a user defined function event set.
公用方法 Equals Determines whether the referenced user-defined function event object is equal to the specified object. (覆寫 Object.Equals(Object)。)
公用方法 GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (覆寫 Object.GetHashCode()。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString Returns the referenced object in string format. (覆寫 Object.ToString()。)

上層

運算子

  名稱 說明
公用運算子靜態成員 Addition Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects.
公用運算子靜態成員 BitwiseOr Creates a user-defined function event set by performing a bitwise OR operation on two UserDefinedFunctionEvent objects.
公用運算子靜態成員 Equality Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects.
公用運算子靜態成員 Implicit(UserDefinedFunctionEvent to UserDefinedFunctionEventSet) Casts a single user defined function event as a user defined function event set.
公用運算子靜態成員 Inequality Creates a user-defined function event set by performing an inequality operation on two UserDefinedFunctionEvent objects.

上層

備註

The UserDefinedFunctionEvent object contains a property for each event to which a user-defined function can respond. The actual set of events is specified by using the UserDefinedFunctionEventSet object.

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

範例

處理 SMO 事件

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間