GetVersionName – PB Docs 2017

GetVersionName

PowerScript function

Description

Gets complete version information for the current PowerBuilder
execution context. A complete version includes a major version, a minor
version, and a fix level (such as 8.0.3).

Applies to

ContextInformation objects

Syntax

Argument

Description

servicereference

Reference to the ContextInformation service
instance.

name

String into which the function places the version
name. This argument is passed by reference.

Return value

Integer.

Returns 1 if the function succeeds and -1 if an error occurs.

Usage

Call this function to determine the maintenance level of the current
context.

Examples

This example calls the GetVersionName function. ci is an instance
variable of type ContextInformation:

See also

GetCompanyName

GetFixesVersion

GetHostObject

GetMajorVersion

GetMinorVersion

GetName

GetShortName


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