语言

IRemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) 方法

定义

在内部用于支持远程访问配置数据。

此 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

要访问的远程配置文件的路径。

getReadTimeOnly
Boolean

一个布尔值,该值指定是否仅返回该值 readTime 。

readTime
Int64

上次访问文件的时间。

返回

Byte[]

包含 array 配置数据的 8 位无符号整数(字节)。

适用于