Partager via


Propriété Queues

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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