ALM Site Administratation Client Type Library
SetDomainProperty Method
DomainName
The domain name.

PropertyNumber

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

  • SA_DOMAIN_CONTACT_NAME (value :5)
  • SA_DOMAIN_CONTACT_EMAIL (value :6)
  • SA_DOMAIN_USERS_QUOTA (value :7)

The other domain properties in SA_DOMAIN_PROPERTY_OPTIONS are read-only.

PropertyValue
The property value.

Description

Sets a domain property and retrieves all domain properties.

Syntax

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

Parameters

DomainName
The domain name.

PropertyNumber

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

  • SA_DOMAIN_CONTACT_NAME (value :5)
  • SA_DOMAIN_CONTACT_EMAIL (value :6)
  • SA_DOMAIN_USERS_QUOTA (value :7)

The other domain properties in SA_DOMAIN_PROPERTY_OPTIONS are read-only.

PropertyValue
The property value.

Return Type

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

Example

See Also

Send documentation feedback to HP.