| 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.GXNetXAssembly: 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
)
Public Sub SetChanProtect (
chan As Integer,
prot As Integer
)
public:
void SetChanProtect(
int chan,
int prot
)
member SetChanProtect :
chan : int *
prot : int -> unit
Parameters
- chan
- Type: SystemInt32
Channel handle - prot
- Type: SystemInt32
<define>DB_CHAN_PROTECTION</define>
See Also