Partilhar via


Propriedade do RDL ServiceContract.Parent

Gets the ServiceBroker object that is the parent of the ServiceContract object.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceBroker 
    Get 
    Set
'Uso
Dim instance As ServiceContract 
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)

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
A ServiceBroker object that is the parent of the ServiceContract object.

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceContract Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Desenvolvimento (Service Broker)

Gerenciando o Service Broker

Visão geral (Service Broker)