Share via


Propriété Parent

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcParentAttribute("Table")> _
<SfcParentAttribute("View")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As SqlSmoObject
    Get
    Set
'Utilisation
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)

Valeur de propriété

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