DatabaseEventSet 建構函式 (DatabaseEvent)
Initializes a new instance of the DatabaseEventSet class with a specified set of events.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
anEvent As DatabaseEvent _
)
'用途
Dim anEvent As DatabaseEvent
Dim instance As New DatabaseEventSet(anEvent)
public DatabaseEventSet(
DatabaseEvent anEvent
)
public:
DatabaseEventSet(
DatabaseEvent^ anEvent
)
new :
anEvent:DatabaseEvent -> DatabaseEventSet
public function DatabaseEventSet(
anEvent : DatabaseEvent
)
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies a database event.