共用方式為


Parent 屬性

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

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

語法

'宣告
Public ReadOnly Property Parent As BrokerService
    Get
'用途
Dim instance As ServiceContractMappingCollection
Dim value As BrokerService

value = instance.Parent
public BrokerService Parent { get; }
public:
property BrokerService^ Parent {
    BrokerService^ get ();
}
member Parent : BrokerService
function get Parent () : BrokerService

範例

使用集合