Table.RecalculateSpaceUsage Method

Recalculates the space that is used on the table.

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

Syntax

'Declaration
Public Sub RecalculateSpaceUsage
'Usage
Dim instance As Table

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

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

Table Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Tables

Tables

CREATE TABLE (Transact-SQL)