Share via


StatisticColumn.Parent Property

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

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Statistic 
    Get 
    Set
'Usage
Dim instance As StatisticColumn 
Dim value As Statistic 

value = instance.Parent

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

Property Value

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

Examples

Creating and Updating Statistics

See Also

Reference

StatisticColumn Class

Microsoft.SqlServer.Management.Smo Namespace