GetEventSelection 方法

Returns the currently selected event notifications.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function GetEventSelection As ViewEventSet
用法
Dim instance As ViewEvents
Dim returnValue As ViewEventSet

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

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet object that specifies the set of view events.