Share via


PartitionSchemeParameter.Parent Property

Gets or sets the PartitionScheme object that is the parent of the PartitionSchemeParameter object.

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

Syntax

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

value = instance.Parent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
The PartitionScheme object that is the parent of the PartitionSchemeParameter object.

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionSchemeParameter Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)