Index.Refresh Method

Refreshes the Index object and its properties.

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

Syntax

'Declaration
Public Overrides Sub Refresh
'Usage
Dim instance As Index

instance.Refresh()
public override void Refresh()
public:
virtual void Refresh() override
abstract Refresh : unit -> unit  
override Refresh : unit -> unit
public override function Refresh()

Implements

IRefreshable.Refresh()

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

ALTER INDEX (Transact-SQL)