共用方式為


Parent 屬性

Gets the BrokerService object that is the parent of the ServiceContractMapping object.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As BrokerService
    Get
    Set
'用途
Dim instance As ServiceContractMapping
Dim value As BrokerService

value = instance.Parent

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

屬性值

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