Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBORCA_SccGetConnectProperties – PB Docs 2017 – PowerBuilder Library

PBORCA_SccGetConnectProperties – PB Docs 2017

PBORCA_SccGetConnectProperties

Description

Returns the SCC connection properties associated with a PowerBuilder
workspace.

Syntax

Argument

Description

hORCASession

Handle to previously established ORCA
session

pWorkspaceFile

Fully qualified or relative file name of the
PowerBuilder workspace file (PBW)

*pConfig

Pointer to a preallocated structure typically
initialized to zeros

Return value

INT. Typical return codes are:

Return code

Description

0       PBORCA_OK

Operation successful

-3      PBORCA_OBJNOTFOUND

Could not find workspace file

Usage

This method simplifies the SCC connection process. Property values
returned from the workspace you include as an argument in the
PBORCA_SccGetConnectProperties call are stored in a preallocated
structure, PBORCA_SCC. These properties allow a successful connection to a
given SCC provider and project, but you can override any of these
properties.

The PBORCA_SCC structure is defined as follows:

The variables in the PBORCA_SCC structure are described in the
following table:

Member

Description

hWnd

Parent window handle whose value is typically
NULL.

szProviderName

Name of the SCC provider.

*plCapabilities

Pointer to value returned by PBORCA_SccConnect. Used
internally to determine what features the SCC provider
supports.

szUserID

User ID for the source control
project.

szProject

Name of the source control project.

szLocalProjPath

Local root directory for the project.

szAuxPath

The Auxiliary Project Path has different meaning for
every SCC vendor. It can contain any string that the SCC provider
wants to associate with the project.
PBORCA_SccGetConnectProperties returns this value to enable a
silent connection (without opening a dialog box from the SCC
provider).

szLogFile

Name of the log file for the SCC
connection.

pMsgHandler

Callback function for SCC messages.

*pCommentLen

Pointer to value returned by PBORCA_SccConnect.
Length of comments accepted by the SCC provider.

lAppend

Determines whether to append to (lAppend=1) or
overwrite (lAppend=0) the SCC log file.

pCommBlk

Reserved for internal use.

The property values added to the PBORCA_SCC structure after calling
the PBORCA_SccGetConnectProperties function are szProviderName, szUserID,
szProject, szLocalProjPath, szAuxPath, szLogFile, and lAppend. If you
manually add these values to the PBORCA_SCC structure, you do not need to
call the PBORCA_SccGetConnectProperties to connect to source
control.

See also

PBORCA_SccConnect

PBORCA_SccSetTarget


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x