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