共用方式為


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

布林值 (Boolean),指出是否只傳回 readTime

readTime
Int64

最後存取檔案的時間。

傳回

Byte[]

由 8 位元不帶正負號的整數 (位元組) 組成的 array,其中含有組態資料。

適用於