ALM Site Administration API Type Library
Disconnect Method
Description
Disconnects a specific connection to the ALM server.
Syntax
Visual Basic
Public Function Disconnect( _
   ByVal ConnectionId As Long _
) As String
Parameters
ConnectionId
The connection ID to be disconnected.
Return Type
Returns "1" on success.
Example
Private Sub Disconnect()

'The following example disconnects a specific connection
'  to the Quality Center server.
    Dim sReply As String

    On Error GoTo err
    sReply = m_SAClient.Disconnect(12433736)
    MsgBox sReply
    Exit Sub

err:
    MsgBox "Program failed:" + err.Description
End Sub
See Also