Description
Calls SccGetLatestVersion to refresh the source for each of the objects in the target libraries.
Syntax
INT PBORCA_SccRefreshTarget ( HPBORCA hORCASession, PBORCA_REBLD_TYPE eRebldType );
Argument |
Description |
---|---|
hORCASession |
Handle to previously established ORCA session |
eRebldType |
Allows you to specify how the application is rebuilt (see Usage section below) |
Return value
INT.
Usage
Call this method to get the latest version of objects in target libraries from source control. The refresh operation also causes the objects to be imported and compiled in their respective PowerBuilder libraries.
Objects in target libraries that you name in a PBORCA_SccExcludeLibraryList call are not included in the refresh operation.
The PBORCA_REBLD_TYPE argument determines how the application is rebuilt when you call PBORCA_SccRefreshTarget:
PBORCA_REBLD_TYPE |
Description |
---|---|
PBORCA_FULL_REBUILD |
Performs a full rebuild of the application |
PBORCA_INCREMENTAL_REBUILD |
Performs an incremental rebuild of the application |
PBORCA_MIGRATE |
Upgrades the application and performs full rebuild |
See also