Click or drag to resize
CDBSetChanProtect Method
This method sets a channel's read-only protection status.

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Value to set must be either <define>DB_CHAN_PROTECTED</define> or <define>DB_CHAN_UNPROTECTED</define> The channel must be locked <define>DB_LOCK_READWRITE</define>
Syntax
public void SetChanProtect(
	int chan,
	int prot
)

Parameters

chan
Type: SystemInt32
Channel handle
prot
Type: SystemInt32
<define>DB_CHAN_PROTECTION</define>
See Also