Sets a domain property and retrieves all domain properties.
Visual Basic |
---|
Public Function SetDomainProperty( _ ByVal DomainName As String, _ ByVal PropertyNumber As Long, _ ByVal PropertyValue As String _ ) As String |
- 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.
On success, returns an XML string containing the domain properties.