ViewEventSet 构造函数 (array<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[]
)

参数

示例

处理 SMO 事件

请参阅

参考

ViewEventSet 类

ViewEventSet 重载

Microsoft.SqlServer.Management.Smo 命名空间