Click or drag to resize

IDBConfigWriterCheckAddLayer Method

Check to see if a layer exists, if not, add it.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
int CheckAddLayer(
	DbConnection connection,
	string layerName
)

Parameters

connection
Type: System.Data.CommonDbConnection
Database Connection to use
layerName
Type: SystemString
Layer Name

Return Value

Type: Int32
Layer ID
See Also