Partager via


Méthode RecalculateSpaceUsage

Updates the disk resource usage of the index.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub RecalculateSpaceUsage
'Utilisation
Dim instance As Index

instance.RecalculateSpaceUsage()
public void RecalculateSpaceUsage()
public:
void RecalculateSpaceUsage()
member RecalculateSpaceUsage : unit -> unit 
public function RecalculateSpaceUsage()

Notes

Notes

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.