# CMS_GetPackageProperties

> Returns the value of the specified package Package Property.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/cms-functions/cms-getpackageproperties/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

#### Description

Returns the value of the specified package [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/)

### Syntax

CMS_GetPackageProperties(sPackage, sVersion, sProperty) As Boolean

Not supported. See [CMS_GetPackage](/capainstaller/vb-scripting-library/cms-functions/cms-getpackage/)

### Properties

#### sPackage (String)

Name of the package

#### sVersion (String)

Version of the package

#### sProperty (String)

[Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) to look for in package

### Return value

Boolean, TRUE if function completed successfully. The result will be stored in gsValue

### Example

**VBScript**

```vb
If bStatus Then bStatus = CMS_GetPackageProperties("CapaInstaller", "v1.0", PP_Mandatory)
If bStatus Then
  xStatus = Job_WriteLog("Custom","gsValue: " & gsValue, bStatus, True)
End If

```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/) [Business Unit support](/capainstaller/vb-scripting-library/addendum/business-unit-support/)
