共用方式為


ViewEventSet 建構函式 (ViewEvent[])

Initializes a new instance of the ViewEventSet class with a specified set of events.

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

語法

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

Dim instance As New ViewEventSet(events)
public ViewEventSet(
    params ViewEvent[] events
)
public:
ViewEventSet(
    ... array<ViewEvent^>^ events
)
new : 
        events:ViewEvent[] -> ViewEventSet
public function ViewEventSet(
    ... events : ViewEvent[]
)

參數