共用方式為


Parent 屬性

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

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

語法

'宣告
Public ReadOnly Property Parent As ServiceContract
    Get
'用途
Dim instance As MessageTypeMappingCollection
Dim value As ServiceContract

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

備註

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

範例

使用集合