Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A SqlServerDatabaseSizeInfo object that contains information about the size and the name of the database.
All authenticated and anonymous users, can call this method.
This method is new in Content Studio version 5.2
[This is preliminary documentation and is subject to change.]
Gets the size of the current Content Studio database.
Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public SqlServerDatabaseSizeInfo GetDbSizeInformation( ConnectionId connectionId, SessionId sessionId )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that uniquely identifies the Content Studio web site. - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the users session. This value usually originates from a call to OpenSession(ConnectionId).
Return Value
Type: SqlServerDatabaseSizeInfoA SqlServerDatabaseSizeInfo object that contains information about the size and the name of the database.
Exceptions
Exception | Condition |
---|---|
SqlException | An error occurred when executing the command against the Content Studio database |
ArgumentOutOfRangeException | The system stored procedure '[sys].[sp_spaceused]' has changed its return values. Content Studio must be updated. |
ArgumentException | The system stored procedure '[sys].[sp_spaceused]' has changed its return values. Content Studio must be updated. |
Content Studio permissions
Remarks
See Also