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