共用方式為


GetEventSelection 方法

Returns the currently selected event notifications.

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

語法

'宣告
Public Function GetEventSelection As DatabaseEventSet
'用途
Dim instance As DatabaseEvents
Dim returnValue As DatabaseEventSet

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

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that specifies the set of database events.