SAapi Object : SetDomainProperty Method |
The property number you want to change. You can use the following constants or their values:
The other domain properties in SA_DOMAIN_PROPERTY_OPTIONS are read-only.
Visual Basic |
---|
Public Function SetDomainProperty( _ ByVal DomainName As String, _ ByVal PropertyNumber As Long, _ ByVal PropertyValue As String _ ) As String |
The property number you want to change. You can use the following constants or their values:
The other domain properties in SA_DOMAIN_PROPERTY_OPTIONS are read-only.
On success, returns an XML string containing the domain properties.
The following are the domain details:
The following are the domain properties of the displayed projects:
Private Sub SetDomainProperty() 'The following Visual Basic example changes the contact ' name in the domain property. Dim sDomainName As String Dim sReply As String On Error GoTo err sDomainName = "MyDomain" sReply = m_SAClient.SetDomainProperty(sDomainName, _ SA_DOMAIN_CONTACT_NAME, "Alex") MsgBox sReply Exit Sub err: MsgBox "Program failed:" + err.Description End Sub