مشاركة عبر


TargetField.Parent Property

Gets or sets the parent Target object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As Target 
    Get 
    Set
'Usage
Dim instance As TargetField 
Dim value As Target 

value = instance.Parent

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

Property Value

Type: Microsoft.SqlServer.Management.XEvent.Target
The parent Target object.

See Also

Reference

TargetField Class

Microsoft.SqlServer.Management.XEvent Namespace