GetEventSelection 方法

Returns the currently selected event notifications.

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

语法

声明
Public Function GetEventSelection As ServerEventSet
用法
Dim instance As ServerEvents
Dim returnValue As ServerEventSet

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

返回值

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