Add 方法 (StoredProcedureEvent)
Returns a set of stored procedure events after adding a new stored procedure event to the referenced event set.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Add ( _
anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'用途
Dim instance As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet
returnValue = instance.Add(anEvent)
public StoredProcedureEventSet Add(
StoredProcedureEvent anEvent
)
public:
StoredProcedureEventSet^ Add(
StoredProcedureEvent^ anEvent
)
member Add :
anEvent:StoredProcedureEvent -> StoredProcedureEventSet
public function Add(
anEvent : StoredProcedureEvent
) : StoredProcedureEventSet
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEvent
A StoredProcedureEvent object that is added to the event set.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set after the new event is added.