다음을 통해 공유


Parent 속성

Gets or sets the ServiceBroker object that is the parent of the MessageType object.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServiceBroker
    Get
    Set
‘사용 방법
Dim instance As MessageType
Dim value As ServiceBroker

value = instance.Parent

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceBroker
A ServiceBroker object that is the parent of the MessageType object.