Condividi tramite


Proprietà Parent

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

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

Valore proprietà

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