UserDefinedFunctionEvents.UnsubscribeFromEvents 方法
Clears the specified event settings, and removes all event handlers.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub UnsubscribeFromEvents ( _
events As UserDefinedFunctionEventSet _
)
'用途
Dim instance As UserDefinedFunctionEvents
Dim events As UserDefinedFunctionEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
UserDefinedFunctionEventSet events
)
public:
void UnsubscribeFromEvents(
UserDefinedFunctionEventSet^ events
)
member UnsubscribeFromEvents :
events:UserDefinedFunctionEventSet -> unit
public function UnsubscribeFromEvents(
events : UserDefinedFunctionEventSet
)
參數
- events
型別:Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that specifies the set of events to stop receiving.