 | CDBSetChanProtect Method |
This method sets a channel's read-only protection
status.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetChanProtect(
int chan,
int prot
)
public void SetChanProtect(
int chan,
int prot
)
Public Sub SetChanProtect (
chan As Integer,
prot As Integer
)
Public Sub SetChanProtect (
chan As Integer,
prot As Integer
)
public:
void SetChanProtect(
int chan,
int prot
)
public:
void SetChanProtect(
int chan,
int prot
)
member SetChanProtect :
chan : int *
prot : int -> unit
member SetChanProtect :
chan : int *
prot : int -> unit
Parameters
- chan
- Type: SystemInt32
Channel handle - 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>
The channel must be locked <define>DB_LOCK_READWRITE</define>
See Also