PageInfosLoad Method (IAppContext, IDatabase, Boolean) |
Loads the pages from the specified metadata database, optionally ignoring permissions (not generally recommended). Note that the collection is cleared first.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public int Load(
IAppContext appContext,
IDatabase db,
bool applyPermissions
)
Public Function Load (
appContext As IAppContext,
db As IDatabase,
applyPermissions As Boolean
) As Integer
Parameters
- appContext
- Type: NetQuarryIAppContext
The application context object - db
- Type: NetQuarryIDatabase
The database to use in the load - applyPermissions
- Type: SystemBoolean
True if permissions should be applied to the collection.
Return Value
Type:
Int32The number of pages in the collection.
See Also