Freigeben über


Parent-Eigenschaft

Gets or sets the SqlSmoObject object that is the parent of the Statistic object.

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

Syntax

'Declaration
<SfcParentAttribute("Table")> _
<SfcParentAttribute("View")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As SqlSmoObject
    Get
    Set
'Usage
Dim instance As Statistic
Dim value As SqlSmoObject

value = instance.Parent

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject object value that is the parent of the Statistic object.