EAPUtilIsVersionConstrained Method (IAppContext, Object, EAPVersionsBaseVersions, Int32, Int32, Int32, Int32, Int32) |
Determines whether an object type that supports versioning is versioned out.
This method is really intended for internal use only.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool IsVersionConstrained(
IAppContext app,
Object dataRow,
EAPVersionsBaseVersions minBaseVersion,
int colVerNm,
int colVerMin,
int colVerMax,
out int constrainReason,
out int verNum
)
Public Shared Function IsVersionConstrained (
app As IAppContext,
dataRow As Object,
minBaseVersion As EAPVersionsBaseVersions,
colVerNm As Integer,
colVerMin As Integer,
colVerMax As Integer,
<OutAttribute> ByRef constrainReason As Integer,
<OutAttribute> ByRef verNum As Integer
) As Boolean
Parameters
- app
- Type: NetQuarryIAppContext
Application object - dataRow
- Type: SystemObject
The dataset containing the object data - minBaseVersion
- Type: NetQuarryEAPVersionsBaseVersions
The minimum EAPBaseVersion when that object has had versioning schema added - colVerNm
- Type: SystemInt32
The column index into the data row where the version name data can be found - colVerMin
- Type: SystemInt32
The column index into the data row where the min version number data can be found - colVerMax
- Type: SystemInt32
The column index into the data row where the max version number data can be found - constrainReason
- Type: SystemInt32
An integer containing the reason for the object being excluded due to versioning. 0 = min version, 1 = max version - verNum
- Type: SystemInt32
An integer containing the value of the constrained version
Return Value
Type:
BooleanTrue if the object should be versioned out, otherwise false.
See Also