Click or drag to resize

DatabaseTableSpace Method

Gets the space used by the specified table. Currently this method is only supported for SQL-Server where the sp_spaceused stored procedure is used. For non-supported DBMS's, an empty (non-null) space descriptor is returned. At this time, an exception is thrown if the table does not exist, but this behaviour may change in the future and is not guaranteed.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public DatabaseSpace TableSpace(
	string tableName,
	DatabaseSpaceOptions options = ,
	string logSource = null
)

Parameters

tableName
Type: SystemString
The name of the table.
options (Optional)
Type: NetQuarryDatabaseSpaceOptions
Options affecting the operation, optional.
logSource (Optional)
Type: SystemString
The source of the operation, to be logged to the devlog, optional.

Return Value

Type: DatabaseSpace
The database space descriptor for the table. An empty (non-null) object if this method is not supported for the DBMS.

Implements

IDatabaseTableSpace(String, DatabaseSpaceOptions, String)
See Also