Share via


IndexedColumn.Parent Property

Gets the Index object that is the parent of the IndexedColumn object.

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

Syntax

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

value = instance.Parent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Index
An Index object value that specifies the parent of the IndexedColumn object.