Share via


Payload.ServiceBroker Property

Gets the Service Broker payload.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property ServiceBroker As ServiceBrokerPayload
    Get
'Usage
Dim instance As Payload
Dim value As ServiceBrokerPayload

value = instance.ServiceBroker
public ServiceBrokerPayload ServiceBroker { get; }
public:
property ServiceBrokerPayload^ ServiceBroker {
    ServiceBrokerPayload^ get ();
}
member ServiceBroker : ServiceBrokerPayload
function get ServiceBroker () : ServiceBrokerPayload

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServiceBrokerPayload
A ServiceBrokerPayload object that specifies the Service Broker payload.