ALM Site Administratation Client Type Library
SetProjectProperty Method
DomainName
The domain name.
ProjectName
The project name.
PropertyNumber

The property number you wish to change. You can use the following constants or their values:

  • SA_PROJECT_DB_CONNECT_STRING (value: 1)
  • SA_PROJECT_DB_USER_PASSWORD (value: 2)
  • SA_PROJECT_ACTIVE (value: 3)
  • SA_PROJECT_NAME (value: 4)
  • SA_PROJECT_SEND_ALL_QUALIFIED (value: 5)
  • SA_PROJECT_USER_QUOTA (value: 6)
  • SA_PROJECT_DESCRIPTION (value: 7)
PropertyValue

The property value.

Description

Sets the specified property to a selected value and retrieves project properties.

Syntax

Visual Basic
Public Function SetProjectProperty( _
   ByVal DomainName As String, _
   ByVal ProjectName As String, _
   ByVal PropertyNumber As Long, _
   ByVal PropertyValue As String _
) As String

Parameters

DomainName
The domain name.
ProjectName
The project name.
PropertyNumber

The property number you wish to change. You can use the following constants or their values:

  • SA_PROJECT_DB_CONNECT_STRING (value: 1)
  • SA_PROJECT_DB_USER_PASSWORD (value: 2)
  • SA_PROJECT_ACTIVE (value: 3)
  • SA_PROJECT_NAME (value: 4)
  • SA_PROJECT_SEND_ALL_QUALIFIED (value: 5)
  • SA_PROJECT_USER_QUOTA (value: 6)
  • SA_PROJECT_DESCRIPTION (value: 7)
PropertyValue

The property value.

Return Type

On success, returns an XML string containing the project properties.

Remarks

The project must be deactivated in order to change the following properties: SA_PROJECT_DB_CONNECT_STRING, SA_PROJECT_NAME.

Property SA_PROJECT_DB_USER_PASSWORD applies to Oracle databases only.

Example

See Also

Send documentation feedback to HP.