Click or drag to resize

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
Syntax
public void SetChanProtect(
	int chan,
	int prot
)

public void SetChanProtect(
	int chan,
	int prot
)

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