ALM Site Administration API Type Library
DisconnectProject Method
Description
Disconnects all connections to a project.
Syntax
| Visual Basic |
|---|
Public Function DisconnectProject( _ ByVal DomainName As String, _ ByVal ProjectName As String _ ) As String |
Parameters
- DomainName
- The domain name.
- ProjectName
- The project name.
Return Type
Returns "1" on success.
Example
Private Sub DisconnectProject(sDomainName$, sProjectName$) 'The following Visual Basic example disconnects all ' project connections. Dim sReply As String On Error GoTo err sReply = m_SAClient.DisconnectProject _ (sDomainName, sProjectName) MsgBox "DisconnectProject return " & sReply Exit Sub err: MsgBox "Program failed:" + err.Description End Sub
See Also

