SAapi Object : DisconnectDomain Method |
Visual Basic |
---|
Public Function DisconnectDomain( _ ByVal DomainName As String _ ) As String |
Private Sub DisconnectDomain() 'The following Visual Basic example disconnects all domain ' connections. Dim sDomainName As String Dim sReply As String On Error GoTo err sDomainName = "MyDomain" sReply = m_SAClient.DisconnectDomain(sDomainName) MsgBox sReply Exit Sub err: MsgBox "Program failed:" + err.Description End Sub