Click or drag to resize

DfsClient Methods

The DfsClient type exposes the following members.

Methods
 NameDescription
Public methodCreateDirectory Creates the specified directory in the file system.
(Overrides FileSystemClientCreateDirectory(String))
Public methodCreateFile(String) Creates a new file with the specified path on the file system.
(Inherited from FileSystemClient)
Public methodCreateFile(String, Int32, Int32) Creates a new file with the specified path on the file system.
(Inherited from FileSystemClient)
Public methodCreateFile(String, Int32, Int32, RecordStreamOptions) Creates a new file with the specified path on the file system.
(Inherited from FileSystemClient)
Public methodCreateFile(String, Int32, Int32, Boolean, RecordStreamOptions) Creates a new file with the specified path on the distributed file system.
(Overrides FileSystemClientCreateFile(String, Int32, Int32, Boolean, RecordStreamOptions))
Public methodStatic memberCreateNameServerClient Creates a client object that can be used to communicate with a name server.
Public methodStatic memberCreateNameServerClient(DfsConfiguration) Creates a client object that can be used to communicate with a name server using the specified configuration.
Public methodStatic memberCreateNameServerHeartbeatClient Creates a client object that can be used to communicate with a name server via the heartbeat protocol.
Public methodStatic memberCreateNameServerHeartbeatClient(DfsConfiguration) Creates a client object that can be used to communicate with a name server via the heartbeat protocol using the specified configuration.
Public methodDelete Deletes the specified file or directory.
(Overrides FileSystemClientDelete(String, Boolean))
Public methodDownloadDirectory(String, String) Downloads the files in the specified directory on the file system.
(Inherited from FileSystemClient)
Public methodDownloadDirectory(String, String, ProgressCallback) Downloads the files in the specified directory on the file system.
(Inherited from FileSystemClient)
Public methodDownloadFile(String, String) Downloads the specified file from the file system to the specified local file.
(Inherited from FileSystemClient)
Public methodDownloadFile(String, String, ProgressCallback) Downloads the specified file from the file system to the specified local file.
(Inherited from FileSystemClient)
Public methodDownloadStream(String, Stream) Downloads the specified file from the file system, saving it to the specified stream.
(Inherited from FileSystemClient)
Public methodDownloadStream(String, Stream, ProgressCallback) Downloads the specified file from the file system, saving it to the specified stream.
(Inherited from FileSystemClient)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetDataServerLogFileContents(ServerAddress, LogFileKind, Int32) Gets the contents of the diagnostic log file of a data server.
Public methodStatic memberGetDataServerLogFileContents(String, Int32, LogFileKind, Int32) Gets the contents of the diagnostic log file of a data server.
Public methodGetDirectoryInfo Gets information about a directory in the file system.
(Overrides FileSystemClientGetDirectoryInfo(String))
Public methodGetFileInfo Gets information about a file.
(Overrides FileSystemClientGetFileInfo(String))
Public methodGetFileSystemEntryInfo Gets information about a file or directory.
(Overrides FileSystemClientGetFileSystemEntryInfo(String))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLocationsForOffset Gets the location where the part of the file beginning with the specified offset is stored.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMove Moves the specified file or directory.
(Overrides FileSystemClientMove(String, String))
Public methodOpenFile Opens the specified file on the distributed file system for reading.
(Overrides FileSystemClientOpenFile(String))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUploadDirectory(String, String) Uploads the files in the specified directory to the file system.
(Inherited from FileSystemClient)
Public methodUploadDirectory(String, String, Int32, Int32, Boolean, ProgressCallback) Uploads the files in the specified directory to the file system.
(Inherited from FileSystemClient)
Public methodUploadFile(String, String) Uploads a file to the file system.
(Inherited from FileSystemClient)
Public methodUploadFile(String, String, Int32, Int32, Boolean, ProgressCallback) Uploads a file to the file system.
(Inherited from FileSystemClient)
Public methodUploadStream(Stream, String) Uploads the contents of the specified stream to the file system.
(Inherited from FileSystemClient)
Public methodUploadStream(Stream, String, Int32, Int32, Boolean, ProgressCallback) Uploads the contents of the specified stream to the file system.
(Inherited from FileSystemClient)
Public methodWaitForSafeModeOff(Int32) Waits until safe mode is off.
Public methodWaitForSafeModeOff(Int32, Int32) Waits until safe mode is off.
Top
See Also