Share via


DbMaintenanceIndexStats.OptimizeIndex(Index, Boolean, Boolean) Method

Definition

public void OptimizeIndex (Microsoft.SqlServer.Management.Smo.Index index, bool isRebuildOp, bool hasFillFactorChanged = false);
member this.OptimizeIndex : Microsoft.SqlServer.Management.Smo.Index * bool * bool -> unit
Public Sub OptimizeIndex (index As Index, isRebuildOp As Boolean, Optional hasFillFactorChanged As Boolean = false)

Parameters

index
Index
isRebuildOp
Boolean
hasFillFactorChanged
Boolean

Applies to