共用方式為


ServerEventSet 建構函式 (ServerEvent[])

Initializes a new instance of the ServerEventSet class with specified events.

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

語法

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

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

參數