共用方式為


UnsubscribeAllEvents 方法

Clears all event settings, and removes all event handlers.

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

語法

'宣告
Public Sub UnsubscribeAllEvents
'用途
Dim instance As PartitionFunctionEvents

instance.UnsubscribeAllEvents()
public void UnsubscribeAllEvents()
public:
void UnsubscribeAllEvents()
member UnsubscribeAllEvents : unit -> unit 
public function UnsubscribeAllEvents()