共用方式為


Parent 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceContract
    Get
    Set
'用途
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)

屬性值

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