IRemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) 方法
定义
在内部用于支持对配置数据的远程访问。Used internally to support remote access to configuration data.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
cli::array <System::Byte> ^ GetData(System::String ^ fileName, bool getReadTimeOnly, [Runtime::InteropServices::Out] long % readTime);
public byte[] GetData (string fileName, bool getReadTimeOnly, out long readTime);
abstract member GetData : string * bool * int64 -> byte[]
Public Function GetData (fileName As String, getReadTimeOnly As Boolean, ByRef readTime As Long) As Byte()
参数
- fileName
- String
要访问的远程配置文件的路径。Path to the remote configuration file to be accessed.
- getReadTimeOnly
- Boolean
一个指定是否只返回 readTime 的布尔值。A Boolean value specifying whether only the readTime is returned.
- readTime
- Int64
最后访问该文件的时间。Time the file was last accessed.
返回
- Byte[]
8 位无符号整数(字节)的 array,其中包含配置数据。An array of 8-bit unsigned integers (bytes) containing the configuration data.