ServerEventSet 构造函数 (ServerEvent)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    anEvent As ServerEvent _
)
用法
Dim anEvent As ServerEvent

Dim instance As New ServerEventSet(anEvent)
public ServerEventSet(
    ServerEvent anEvent
)
public:
ServerEventSet(
    ServerEvent^ anEvent
)
new : 
        anEvent:ServerEvent -> ServerEventSet
public function ServerEventSet(
    anEvent : ServerEvent
)

参数