Share via


BrokerPriority.Parent Property

Gets or sets the ServiceBroker object that is the parent of the BrokerPriority object

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceBroker 
    Get 
    Set
'Usage
Dim instance As BrokerPriority 
Dim value As ServiceBroker 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public ServiceBroker Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property ServiceBroker^ Parent {
    ServiceBroker^ get ();
    void set (ServiceBroker^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : ServiceBroker with get, set
function get Parent () : ServiceBroker 
function set Parent (value : ServiceBroker)

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
A ServiceBroker object that is the parent of the BrokerPriority object.

Examples

CREATE BROKER PRIORITY (Transact-SQL)

See Also

Reference

BrokerPriority Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Conversation Priorities

Manage Conversation Priorities

Troubleshoot Conversation Priorities

DEL - Development (Service Broker)

Service Broker

CREATE BROKER PRIORITY (Transact-SQL)