共用方式為


ApplicationRoleEvents.GetEventSelection 方法

Returns a set of currently subscribed event notifications.

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

語法

'宣告
Public Function GetEventSelection As ObjectEventSet
'用途
Dim instance As ApplicationRoleEvents 
Dim returnValue As ObjectEventSet 

returnValue = instance.GetEventSelection()
public ObjectEventSet GetEventSelection()
public:
ObjectEventSet^ GetEventSelection()
member GetEventSelection : unit -> ObjectEventSet
public function GetEventSelection() : ObjectEventSet

傳回值

型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the event selection.

範例

處理 SMO 事件

請參閱

參考

ApplicationRoleEvents 類別

Microsoft.SqlServer.Management.Smo 命名空間