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 命名空间