StoredProcedureEvent.Add 方法

Returns the stored procedure event set that is created when two stored procedure events are added together.

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

语法

声明
Public Shared Function Add ( _
    eventLeft As StoredProcedureEvent, _
    eventRight As StoredProcedureEvent _
) As StoredProcedureEventSet
用法
Dim eventLeft As StoredProcedureEvent 
Dim eventRight As StoredProcedureEvent 
Dim returnValue As StoredProcedureEventSet 

returnValue = StoredProcedureEvent.Add(eventLeft, _
    eventRight)
public static StoredProcedureEventSet Add(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ Add(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static member Add : 
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent -> StoredProcedureEventSet
public static function Add(
    eventLeft : StoredProcedureEvent, 
    eventRight : StoredProcedureEvent
) : StoredProcedureEventSet

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of two stored procedures that are created when two events were added together.

示例

处理 SMO 事件

请参阅

参考

StoredProcedureEvent 类

Microsoft.SqlServer.Management.Smo 命名空间