Partilhar via


Propriedade do RDL MessageTypeMapping.Parent

Gets the ServiceContract object that is the parent of the MessageTypeMapping 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 ServiceContract 
    Get 
    Set
'Uso
Dim instance As MessageTypeMapping 
Dim value As ServiceContract 

value = instance.Parent

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

Valor da propriedade

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

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

MessageTypeMapping Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Visão geral (Service Broker)

Gerenciando o Service Broker

Desenvolvimento (Service Broker)