SAapi Object : DisableVersionControl Method |
Visual Basic |
---|
Public Function DisableVersionControl( _ ByVal DomainName As String, _ ByVal ProjectName As String _ ) As String |
On success, returns an XML string containing the project properties.
The properties of the XML return string:
Private Sub DisableVersionControl() 'The following Visual Basic example disables version control ' of a deactivated project. Dim sDomainName As String, sProjectName As String Dim sReply As String On Error GoTo err sDomainName = "MyDomain" sProjectName = "MyProject" sReply = m_SAClient.DisableVersionControl _ (sDomainName, sProjectName) MsgBox sReply Exit Sub err: MsgBox "Program failed:" + err.Description End Sub