DriveSettings Constructor (Char, Uri, Boolean, String, String, String, Boolean, UploadBuffering, Boolean, Boolean, Boolean, LockBehavior, Boolean, Boolean, Int32, Int32, ProxySettings, DriveEvents, String, String, TimeOutPeriod, String, Boolean)
IT Hit WebDAV Classes Reference
Namespace:
ITHit.MapWebDAVDrive.Core
Assembly:
ITHit.MapWebDAVDrive.Core (in ITHit.MapWebDAVDrive.Core.dll) Version: 1.3.997.0 (1.3.997.0)
Syntax public DriveSettings(
char driveLetter,
Uri serverUrl,
bool impersonate,
string userName,
string password,
string volumeLabel,
bool persistent,
UploadBuffering bufferUpload,
bool showProgress,
bool downloadOnlyNewer,
bool resumeBrokenDownloads,
LockBehavior lockBehavior,
bool autoCheckOutOnUpdate,
bool allowWindowsExplorerCustomization,
int serverRequestTimeOut,
int clientCacheTimeout,
ProxySettings proxy,
DriveEvents driveEvents,
string filterDownload,
string filterUpload,
TimeOutPeriod lockTimeOutPeriod,
string autoLockFilter,
bool showContextMenuForVersioning
)
Public Sub New (
driveLetter As Char,
serverUrl As Uri,
impersonate As Boolean,
userName As String,
password As String,
volumeLabel As String,
persistent As Boolean,
bufferUpload As UploadBuffering,
showProgress As Boolean,
downloadOnlyNewer As Boolean,
resumeBrokenDownloads As Boolean,
lockBehavior As LockBehavior,
autoCheckOutOnUpdate As Boolean,
allowWindowsExplorerCustomization As Boolean,
serverRequestTimeOut As Integer,
clientCacheTimeout As Integer,
proxy As ProxySettings,
driveEvents As DriveEvents,
filterDownload As String,
filterUpload As String,
lockTimeOutPeriod As TimeOutPeriod,
autoLockFilter As String,
showContextMenuForVersioning As Boolean
)
public:
DriveSettings(
wchar_t driveLetter,
Uri^ serverUrl,
bool impersonate,
String^ userName,
String^ password,
String^ volumeLabel,
bool persistent,
UploadBuffering bufferUpload,
bool showProgress,
bool downloadOnlyNewer,
bool resumeBrokenDownloads,
LockBehavior lockBehavior,
bool autoCheckOutOnUpdate,
bool allowWindowsExplorerCustomization,
int serverRequestTimeOut,
int clientCacheTimeout,
ProxySettings^ proxy,
DriveEvents^ driveEvents,
String^ filterDownload,
String^ filterUpload,
TimeOutPeriod^ lockTimeOutPeriod,
String^ autoLockFilter,
bool showContextMenuForVersioning
)
new :
driveLetter : char *
serverUrl : Uri *
impersonate : bool *
userName : string *
password : string *
volumeLabel : string *
persistent : bool *
bufferUpload : UploadBuffering *
showProgress : bool *
downloadOnlyNewer : bool *
resumeBrokenDownloads : bool *
lockBehavior : LockBehavior *
autoCheckOutOnUpdate : bool *
allowWindowsExplorerCustomization : bool *
serverRequestTimeOut : int *
clientCacheTimeout : int *
proxy : ProxySettings *
driveEvents : DriveEvents *
filterDownload : string *
filterUpload : string *
lockTimeOutPeriod : TimeOutPeriod *
autoLockFilter : string *
showContextMenuForVersioning : bool -> DriveSettings
Parameters
- driveLetter
- Type: SystemChar
Drive letter. - serverUrl
- Type: SystemUri
WebDAV Server URL. - impersonate
- Type: SystemBoolean
Access WebDAV server on behalf of the user accessing the drive if this parameter is true. User name and password are ignored in this case. - userName
- Type: SystemString
User name used when connecting to WebDAV server. In case of domain authentication specify user name in the DOMAIN\Login format. - password
- Type: SystemString
Password used when connecting to WebDAV server. - volumeLabel
- Type: SystemString
Drive volume label. Max 33 characters. - persistent
- Type: SystemBoolean
Specifies if the drive will be mounted each time the computer boots. - bufferUpload
- Type: ITHit.MapWebDAVDrive.CoreUploadBuffering
Specifies if content is buffered in memory before sending to server. - showProgress
- Type: SystemBoolean
Show upload and download progress in a tray application. - downloadOnlyNewer
- Type: SystemBoolean
Specifies if only modified files will be downloaded. - resumeBrokenDownloads
- Type: SystemBoolean
Specifies if canceled and broken downloads will be restored. - lockBehavior
- Type: ITHit.MapWebDAVDrive.CoreLockBehavior
Specifies if a file should be automatically locked when opened or edited. - autoCheckOutOnUpdate
- Type: SystemBoolean
Specifies if item will be checked-out before any update if server supports versioning. - allowWindowsExplorerCustomization
- Type: SystemBoolean
Allows Windows Explorer customization. - serverRequestTimeOut
- Type: SystemInt32
Server requests timeout in seconds. - clientCacheTimeout
- Type: SystemInt32
Sets or gets client cache timeout in seconds. - proxy
- Type: ITHit.MapWebDAVDrive.CoreProxySettings
Contains settings for proxy server. - driveEvents
- Type: ITHit.MapWebDAVDrive.CoreDriveEvents
External applications executed during various events. - filterDownload
- Type: SystemString
Regular expression that specifies which files should be never downloaded from server. - filterUpload
- Type: SystemString
Regular expression that specifies which files should be never uploaded to server. - lockTimeOutPeriod
- Type: ITHit.MapWebDAVDrive.CoreTimeOutPeriod
The item will be automatically unlocked by server when the specified amount of time is elapsed. - autoLockFilter
- Type: SystemString
Regular expression that specifies which files should be automatically locked when file is opened (read from server). Used only if LockBehavior is set to [!:LockBehavior.LockWhenOpen]. - showContextMenuForVersioning
- Type: SystemBoolean
Specifies if context menus for versioning should be displayed in Windows Explorer context menus.
See Also