Delen via


ServiceBroker.Queues Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServiceQueue))> _
Public ReadOnly Property Queues As ServiceQueueCollection
    Get
'Usage
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

Property Value

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