共用方式為


ViewEventSet 建構函式 (ViewEvent)

Initializes a new instance of the ViewEventSet class with a specified event.

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

語法

'宣告
Public Sub New ( _
    anEvent As ViewEvent _
)
'用途
Dim anEvent As ViewEvent

Dim instance As New ViewEventSet(anEvent)
public ViewEventSet(
    ViewEvent anEvent
)
public:
ViewEventSet(
    ViewEvent^ anEvent
)
new : 
        anEvent:ViewEvent -> ViewEventSet
public function ViewEventSet(
    anEvent : ViewEvent
)

參數