IRemoteWebConfigurationHostServer.GetData(String, Boolean, Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
供內部使用,以支援組態資料的遠端存取。
此 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
,其中含有組態資料。