Microsoft.SqlServer.Management.Smo.Broker-Namespace

The [Microsoft.SqlServer.Management.Smo.Broker] namespace contains classes that represent the Service Broker items that you can manage by using SQL Server Management Objects.

After a connection to an instance of SQL Server has been established by using the Server object variable, you can use the objects in the Microsoft.SqlServer.Management.Smo.Broker namespace to manage the Service Broker.

The [Microsoft.SqlServer.Management.Smo.Broker] namespace resides in the Microsoft.SqlServer.Smo.dll assembly file. Also, some of the enumeration classes are in the Microsoft.SqlServer.ServiceBrokerEnum.dll assembly file. You will have to import both files to access the classes in the [Microsoft.SqlServer.Management.Smo.Broker] namespace.

By using the [Microsoft.SqlServer.Management.Smo.Broker] namespace you can do the following:

  • View and modify Service Broker settings.

  • Create, alter, and drop Service Broker objects.

  • Manage Service Broker queues, routes, message types, contracts, service bindings, and priorities.

  • Set up, manage, and handle Service Broker events.

Klassen

  Klasse Beschreibung
Öffentliche Klasse BrokerObjectBase The BrokerObjectBase class is a base class that is inherited by other Service Broker classes.
Öffentliche Klasse BrokerPriority The BrokerPriority object represents a priority level and the set of criteria for determining which Service Broker conversations to assign the priority level.
Öffentliche Klasse BrokerPriorityCollection The BrokerPriorityCollection class represents a collection of BrokerPriority objects that represent all the conversation priorities defined on a database.
Öffentliche Klasse BrokerPriorityExtender Exposes Service Broker conversation priority methods and properties in addition to the methods and properties of the BrokerPriority object.
Öffentliche Klasse BrokerService Das BrokerService-Objekt stellt einen Service Broker-Dienst dar, der einen adressierbaren Endpunkt für Konversationen bildet.
Öffentliche Klasse BrokerServiceCollection The BrokerServiceCollection class represents a collection of BrokerService objects that represent all the Service Broker services defined on a database.
Öffentliche Klasse BrokerServiceEvents The BrokerServiceEvents object represents the settings required for Service Broker service event notification.
Öffentliche Klasse BrokerServiceExtender Exposes Service Broker service methods and properties in addition to the methods and properties of the BrokerService object.
Öffentliche Klasse MessageType The MessageType object represents a message type that defines the content of messages.
Öffentliche Klasse MessageTypeCollection The MessageTypeCollection class represents a collection of MessageType objects that represent all the message types defined on a database.
Öffentliche Klasse MessageTypeEvents The MessageTypeEvents object represents the settings required for SQL Server message type event notification.
Öffentliche Klasse MessageTypeExtender Exposes Service Broker message type methods and properties in addition to the methods and properties of the MessageType object.
Öffentliche Klasse MessageTypeMapping The MessageTypeMapping object represents a relationship between message types and a contract.
Öffentliche Klasse MessageTypeMappingCollection The MessageTypeMappingCollection class represents a collection of MessageTypeMapping objects that represent all the message types defined on a contract.
Öffentliche Klasse RemoteServiceBinding The RemoteServiceBinding object represents the settings that Service Broker uses for security and authentication when communicating with a remote service.
Öffentliche Klasse RemoteServiceBindingCollection The RemoteServiceBindingCollection class represents a collection of RemoteServiceBinding objects that represent all the remote service bindings defined on a database.
Öffentliche Klasse RemoteServiceBindingEvents The RemoteServiceBindingEvents object represents the settings required for Microsoft SQL Server remote service binding event notification.
Öffentliche Klasse RemoteServiceBindingExtender Macht neben den Methoden und Eigenschaften des RemoteServiceBinding-Objekts Methoden und Eigenschaften für Service Broker-Remotedienstbindungen verfügbar.
Öffentliche Klasse ServiceBroker The ServiceBroker object represents an implementation of Service Broker on a SQL Server database.
Öffentliche Klasse ServiceContract The ServiceContract objects represents a contract that specifies the direction and type of messages in a conversation.
Öffentliche Klasse ServiceContractCollection The ServiceContractCollection class represents a collection of ServiceContract objects that represent all the service contracts defined on a database.
Öffentliche Klasse ServiceContractEvents The ServiceContractEvents object represents the settings required for SQL Server service contract event notification.
Öffentliche Klasse ServiceContractExtender Exposes Service Broker contract methods and properties in addition to the methods and properties of the ServiceContract object.
Öffentliche Klasse ServiceContractMapping The ServiceContractMapping class represents the service contracts that are associated with the Service Broker service.
Öffentliche Klasse ServiceContractMappingCollection The ServiceContractMappingCollection class represents a collection of ServiceContractMapping objects that represent all the message types defined on a contract.
Öffentliche Klasse ServiceQueue The ServiceQueue object represents a queue that stores Service Broker messages.
Öffentliche Klasse ServiceQueueCollection Die ServiceQueueCollection-Klasse stellt eine Auflistung von ServiceQueue-Objekten dar, die alle für eine Datenbank definierten Dienstwarteschlangen darstellen.
Öffentliche Klasse ServiceQueueEvents The ServiceQueueEvents object represents the settings required for SQL Server service queue event notification.
Öffentliche Klasse ServiceQueueExtender Exposes Service Broker queue methods and properties in addition to the methods and properties of the ServiceQueue object.
Öffentliche Klasse ServiceRoute The ServiceRoute object represents a Service Broker route that contains the location information for the service and the database on which it is defined.
Öffentliche Klasse ServiceRouteCollection The ServiceRouteCollection class represents a collection of ServiceRoute objects that represent all the service routes defined on a database.
Öffentliche Klasse ServiceRouteEvents The ServiceRouteEvents object represents the settings required for SQL Server service route event notification.
Öffentliche Klasse ServiceRouteExtender Exposes Service Broker route methods and properties in addition to the methods and properties of the ServiceRoute object.

Enumerationen

  Enumeration Beschreibung
Öffentliche Enumeration DialogEndPointState The DialogEndPointState enumeration contains constant values that specify the state of the endpoint at the service.
Öffentliche Enumeration DialogType The DialogType enumeration contains constant values that specify the type of dialog between Service Broker endpoints.
Öffentliche Enumeration MessageSource The MessageSource enumeration contains constant values that specify which endpoint sent the message.
Öffentliche Enumeration MessageTypeValidation The MessageTypeValidation enumeration contains constant values that specify the types of validation performed on the Service Broker message body.