Examples: AddServerToCluster method

This code creates an administration request to add the current server to the Bays cluster.

Sub Initialize
  Dim session As New NotesSession
  Dim adminp As NotesAdministrationProcess
  Set adminp = _
  noteid$ = adminp.AddServerToCluster("bay/casco","Bays")
  If noteid$ <> "" Then
    Dim db As New NotesDatabase("bay/casco", "admin4")
    Dim ws As New NotesUIWorkspace
    Call ws.EditDocument(False, db.GetDocumentByID(noteid$))
  End If
End Sub