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[]
)
參數
- events
型別:array<Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent> [] () [] []
An array of ServerEvent objects that specifies several server events.