IResourceIsVersionControlled Method
IT Hit WebDAV Classes ReferenceNote: This API is now obsolete.
Determines whether item is under version control.
Namespace: ITHit.WebDAV.ClientAssembly: ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 1.3.366.0
Syntax [ObsoleteAttribute]
bool IsVersionControlled()
<ObsoleteAttribute>
Function IsVersionControlled As Boolean
[ObsoleteAttribute]
bool IsVersionControlled()
[<ObsoleteAttribute>]
abstract IsVersionControlled : unit -> bool
Return Value
Type:
BooleanBoolean value indicating if item is being version-controlled.
Remarks
Returns true if item is under version control. Otherwise returns false.
Examples
The following example demonstrates how to find out if item is being version-controlled.
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IResource resource = session.OpenResource(new Uri("http://server/directory/resource.docx"));
if(resource.IsVersionControlled())
MessageBox.Show("The item is being version controlled.");
else
MessageBox.Show("The item is not under version control.");
See Also