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)
Syntaxint CheckAddLayer(
DbConnection connection,
string layerName
)
Function CheckAddLayer (
connection As DbConnection,
layerName As String
) As Integer
Parameters
- connection
- Type: System.Data.CommonDbConnection
Database Connection to use - layerName
- Type: SystemString
Layer Name
Return Value
Type:
Int32Layer ID
See Also