Compartilhar via


Classe BrokerServiceCollection

The BrokerServiceCollection class represents a collection of BrokerService objects that represent all the Service Broker services defined on a database.

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

Sintaxe

'Declaração
Public NotInheritable Class BrokerServiceCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As BrokerServiceCollection
public sealed class BrokerServiceCollection : SimpleObjectCollectionBase
public ref class BrokerServiceCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type BrokerServiceCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class BrokerServiceCollection extends SimpleObjectCollectionBase

Comentários

A BrokerServiceCollection object can be used to gain access to a set of Service Broker services. You can use the Item property to return a specific BrokerService object.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.