IFilePutUnderVersionControlAsync Method 
IT Hit WebDAV Classes Reference 
            Enables / disables version control for this file.
            
 
    Namespace: 
   ITHit.WebDAV.Client
    Assembly:
   ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
 Syntax
SyntaxTask PutUnderVersionControlAsync(
	bool enable,
	string lockToken = null,
	IDictionary<string, string> headers = null,
	CancellationToken cancellationToken = null
)
Function PutUnderVersionControlAsync ( 
	enable As Boolean,
	Optional lockToken As String = Nothing,
	Optional headers As IDictionary(Of String, String) = Nothing,
	Optional cancellationToken As CancellationToken = Nothing
) As Task
Task^ PutUnderVersionControlAsync(
	bool enable, 
	String^ lockToken = nullptr, 
	IDictionary<String^, String^>^ headers = nullptr, 
	CancellationToken cancellationToken = nullptr
)
abstract PutUnderVersionControlAsync : 
        enable : bool * 
        ?lockToken : string * 
        ?headers : IDictionary<string, string> * 
        ?cancellationToken : CancellationToken 
(* Defaults:
        let _lockToken = defaultArg lockToken null
        let _headers = defaultArg headers null
        let _cancellationToken = defaultArg cancellationToken null
*)
-> Task 
Parameters
- enable
- Type: SystemBoolean
 True to enable version-control, false - to disable.
- lockToken (Optional)
- Type: SystemString
 Lock token for this item.
- headers (Optional)
- Type: System.Collections.GenericIDictionaryString, String
 Request headers.
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
 Propagates notification that operations should be canceled.
Return Value
Type: 
Task[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IFile.PutUnderVersionControlAsync(System.Boolean,System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Threading.CancellationToken)"]
 Exceptions
Exceptions See Also
See Also