Export (0) Print
Expand All
Expand Minimize

Index.PartitionScheme Property

Gets or sets the partition scheme associated with the index.

This API is not CLS-compliant. 

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

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(PartitionScheme), "Server[@Name='{0}']/Database[@Name='{1}']/PartitionScheme[@Name='{2}']", 
	)]
[CLSCompliantAttribute(false)]
public string PartitionScheme { get; set; }

Property Value

Type: String
A String value that specifies the partition scheme associated with the index.

This property cannot be modified by using the Alter method. To change the property, the index must be rebuilt or re-created.

NoteNote

For indexes based on the UserDefinedTableType object the value of PartitionScheme property is an empty string.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft