Index.OnlineIndexOperation Property

 

Gets or sets the Boolean property value that specifies whether the index will be kept online during index operations thus allowing access to the data.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public bool OnlineIndexOperation { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether the index will be kept online during index operations.

If True, the index will be kept online during index operations. Otherwise, False (default).

System_CAPS_noteNote

For indexes based on the UserDefinedTableType object the value of the OnlineIndexOperation property is always false.

Return to top
Show: