 | DfsClientGetDataServerLogFileContents(String, Int32, LogFileKind, Int32) Method |
Gets the contents of the diagnostic log file of a data server.
Namespace: Ookii.Jumbo.Dfs.FileSystemAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static string GetDataServerLogFileContents(
string hostName,
int port,
LogFileKind kind,
int maxSize
)
Public Shared Function GetDataServerLogFileContents (
hostName As String,
port As Integer,
kind As LogFileKind,
maxSize As Integer
) As String
public:
static String^ GetDataServerLogFileContents(
String^ hostName,
int port,
LogFileKind kind,
int maxSize
)
static member GetDataServerLogFileContents :
hostName : string *
port : int *
kind : LogFileKind *
maxSize : int -> string
Parameters
- hostName String
- The host name of the data server.
- port Int32
- The port on which the data server is listening.
- kind LogFileKind
- The kind of log file.
- maxSize Int32
- The maximum size of the log data to return.
Return Value
StringThe contents of the log file.
See Also