Description

Check out a diagram from the Repo Server. Return value is 1 if successful, 0 otherwise. PARAMETERS GetLatest (Boolean), Comment (String). RETURN DATATYPE: Integer.

Syntax

Public Function RepoCheckoutDiagram( _
   ByVal GetLatest As Variant, _
   ByVal Comment As Variant _
) As Variant

Parameters

  • GetLatest
  • Comment

Example

Sub Main
Dim d As Diagram
Dim nRet As Integer
Dim bSynWithLatest As Boolean

Debug.Clear
Set d = DiagramManager.ActiveDiagram

bSynWithLatest = False

nRet = d.RepoCheckoutDiagram(bSynWithLatest, "RepoCheckOutCommentIsNoLongerUsed")
Debug.Print(DiagramManager.GetLastErrorString())
End Sub



  • No labels