 | CDBSetAllChanProtect Method |
This method sets all the channels' read-only protection status.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetAllChanProtect(
int prot
)
public void SetAllChanProtect(
int prot
)
Public Sub SetAllChanProtect (
prot As Integer
)
Public Sub SetAllChanProtect (
prot As Integer
)
public:
void SetAllChanProtect(
int prot
)
public:
void SetAllChanProtect(
int prot
)
member SetAllChanProtect :
prot : int -> unit
member SetAllChanProtect :
prot : int -> unit
Parameters
- prot
- Type: SystemInt32
<define>DB_CHAN_PROTECTION</define>
Remarks
Value to set must be either <define>DB_CHAN_PROTECTED</define> or
<define>DB_CHAN_UNPROTECTED</define>
This method does its own channel locking/unlocking.
Channels already lock <define>DB_LOCK_READONLY</define> are ignored.
See Also