SAapi Object : GetAllDomainProjects Method |
Visual Basic |
---|
Public Function GetAllDomainProjects( _ ByVal DomainName As String _ ) As String |
On success, returns an XML string containing the project properties.
The properties of the XML return string:
Private Sub GetAllDomainProjects() 'The following Visual Basic example gets the projects ' and their properties from the MyDomain domain. Dim sDomainName As String Dim sReply As String On Error GoTo err sDomainName = "MyDomain" sReply = m_SAClient.GetAllDomainProjects _ (sDomainName) MsgBox sReply Exit Sub err: MsgBox "Program failed:" + err.Description End Sub