Поделиться через


Свойство Queues

Represents a collection of ServiceQueue objects. Each ServiceQueue object represents a service queue defined on the instance of Service Broker.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Broker
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServiceQueue))> _
Public ReadOnly Property Queues As ServiceQueueCollection
    Get
'Применение
Dim instance As ServiceBroker
Dim value As ServiceQueueCollection

value = instance.Queues
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ServiceQueue))]
public ServiceQueueCollection Queues { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ServiceQueue))]
public:
property ServiceQueueCollection^ Queues {
    ServiceQueueCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ServiceQueue))>]
member Queues : ServiceQueueCollection
function get Queues () : ServiceQueueCollection

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueueCollection
A ServiceQueueCollection object that represents all the service queues defined on the instance of Service Broker.