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)

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

Property Value

Type: System.String

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

This property cannot be modified by using the M:Microsoft.SqlServer.Managemetn.Smo.Index.Alter method. To change the property, the index must be rebuilt or re-created.

System_CAPS_noteNote

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

Return to top
Show: