'Declaration Public Shared ReadOnly Property DefaultAutomaticWriteFileShare As FileShare
public static FileShare DefaultAutomaticWriteFileShare {get;}
'Declaration Public Shared ReadOnly Property DefaultAutomaticWriteFileShare As FileShare
public static FileShare DefaultAutomaticWriteFileShare {get;}
Because the property is global, changing the value will affect every SFtpFile operation across your entire application, not just the current SFtp session.
In most cases, it is not necessary to modify the default value of this property. But if the SFtp server supports it, it is good practice to set the value to FileShare.None.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2