Index.PartitionScheme Index.PartitionScheme Index.PartitionScheme Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the partition scheme associated with the index.

public:
 property System::String ^ PartitionScheme { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.PartitionScheme), "Server[@Name='{0}']/Database[@Name='{1}']/PartitionScheme[@Name='{2}']", Mono.Cecil.CustomAttributeArgument[])]
[System.CLSCompliant(false)]
public string PartitionScheme { get; set; }
Public Property PartitionScheme As String
Property Value

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

Examples

Creating, Altering, and Removing Indexes

Remarks

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

Note

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

Applies to