共用方式為


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
)

參數