Partager via


Parent propriété

Gets or sets the ServiceBroker object that is the parent of the BrokerService object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceBroker
    Get
    Set
'Utilisation
Dim instance As BrokerService
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)

Valeur de la propriété

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