Click or drag to resize

TableSchemaGetSchema Method

Returns table schema information.

Namespace:  Dynamicweb.Analytics
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static TableSchema GetSchema(
	IDbConnection connection,
	string tableName
)

Parameters

connection
Type: System.DataIDbConnection
Database connection to use.
tableName
Type: SystemString
Table name.

Return Value

Type: TableSchema
Table schema information or null (Nothing in Visual Basic) if schema information cannot be retrieved.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither connection or tableName is null.
ArgumentExceptionEither connection is closed/broken or tableName is an empty string.
See Also