語言

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 位元無號整數(位元組)。

適用於