共用方式為


Parent 屬性

取得 ServiceBroker 物件,該物件為 ServiceQueue 物件的父系。

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

語法

'宣告
Public ReadOnly Property Parent As ServiceBroker
    Get
'用途
Dim instance As ServiceQueueCollection
Dim value As ServiceBroker

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceBroker
ServiceBroker 物件,該物件為 ServiceQueue 物件的父系。

範例

使用集合