共用方式為


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.