IsUnderRevisionControl Property

       

True if source control is used on the active WebEx object. Read-only Boolean.

Remarks

You must have a source control project created through Microsoft Visual SourceSafe or Microsoft Office in order to use revision control.

Example

This example creates a source control project and then, in the second procedure, checks the state of IsUnderRevisionControl property.

Private Sub SourceControlProject()
    Dim myWeb As WebEx

    Set myWeb = ActiveWeb

    If Not (myWeb.IsUnderRevisionControl) Then
        myWeb.RevisionControlProject = _
            "<FrontPage-based Locking>"
    End If
End Sub

Private Sub GetRevisionState()
    Dim myWeb As WebEx
    Dim myRevCtrlProj As String
    Dim myIsRevCtrl As Boolean

    Set myWeb = ActiveWeb

    With myWeb
        myRevCtrlProj = .RevisionControlProject
        myIsUnderRevCtrl = .IsUnderRevisionControl 
    End With
End Sub