Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Microsoft.SqlServer.Management.Smo.Broker Namespace

The Microsoft.SqlServer.Management.Smo.Broker namespace contains classes that represent the Microsoft SQL Server Service Broker.

Updated text: 17 July 2006

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 SQL Server 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 SQL Server Service Broker settings.

  • Set up and manage Service Broker message conversations.

  • Create, alter, and drop Service Broker objects.

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

  • Set up, manage, and handle Service Broker events

Release

History

17 July 2006

Changed content:
  • Added text to the Remarks section.

ClassDescription
BrokerObjectBaseThe BrokerObjectBase class is a base class that is inherited by other Service Broker classes.
BrokerServiceThe BrokerService object represents a Service Broker service, which is an addressable endpoint for conversations.
BrokerServiceCollectionThe BrokerServiceCollection class represents a collection of BrokerService objects that represent all the Service Broker services defined on a database.
BrokerServiceEventsThe BrokerServiceEvents object represents the settings required for Service Broker service event notification.
MessageTypeThe MessageType object represents a message type that defines the content of messages.
MessageTypeCollectionThe MessageTypeCollection class represents a collection of MessageType objects that represent all the message types defined on a database.
MessageTypeEventsThe MessageTypeEvents object represents the settings required for Microsoft SQL Server message type event notification.
MessageTypeMappingThe MessageTypeMapping object represents a relationship between a message types and a contract.
MessageTypeMappingCollectionThe MessageTypeMappingCollection class represents a collection of MessageTypeMapping objects that represent all the message types defined on a contract.
RemoteServiceBindingThe RemoteServiceBinding object represents the settings that Service Broker uses for security and authentication when communicating with a remote service.
RemoteServiceBindingCollectionThe RemoteServiceBindingCollection class represents a collection of RemoteServiceBinding objects that represent all the remote service bindings defined on a database.
RemoteServiceBindingEventsThe RemoteServiceBindingEvents object represents the settings required for Microsoft SQL Server remote service binding event notification.
ServiceBrokerThe ServiceBroker object represents an implementation of Service Broker on a Microsoft SQL Server database.
ServiceContractThe ServiceContract objects represents a contract that specifies the direction and type of messages in a conversation.
ServiceContractCollectionThe ServiceContractCollection class represents a collection of ServiceContract objects that represent all the service contracts defined on a database.
ServiceContractEventsThe ServiceContractEvents object represents the settings required for Microsoft SQL Server service contract event notification.
ServiceContractMappingThe ServiceContractMapping class represents the service contracts that are associated with the Service Broker service.
ServiceContractMappingCollectionThe ServiceContractMappingCollection class represents a collection of ServiceContractMapping objects that represent all the message types defined on a contract.
ServiceQueueThe ServiceQueue object represents a queue that stores messages and after they are received.
ServiceQueueCollectionThe ServiceQueueCollection class represents a collection of ServiceQueue objects that represent all the service queues defined on a database.
ServiceQueueEventsThe ServiceQueueEvents object represents the settings required for Microsoft SQL Server service queue event notification.
ServiceRouteThe ServiceRoute object represents a Service Broker route that contains the location information for the service and the database on which it is defined.
ServiceRouteCollectionThe ServiceRouteCollection class represents a collection of ServiceRoute objects that represent all the service routes defined on a database.
ServiceRouteEventsThe ServiceRouteEvents object represents the settings required for Microsoft SQL Server service route event notification.
EnumerationDescription
DialogEndPointStateThe DialogEndPointState enumeration contains constant values that specify the state of the endpoint at the service.
DialogTypeThe DialogType enumeration contains constant values that specify the type of dialog between Service Broker endpoints.
MessageSourceThe MessageSource enumeration contains constant values that specify which endpoint sent the message.
MessageTypeValidationThe MessageTypeValidation enumeration contains constant values that specify the types of validation performed on the Service Broker message body.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.