共用方式為


CacheDirectory 屬性

取得或設定快取目錄的路徑和資料夾名稱。

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property CacheDirectory As String
    Get
    Set
'用途
Dim instance As CollectorConfigStore
Dim value As String

value = instance.CacheDirectory

instance.CacheDirectory = value
[SfcPropertyAttribute]
public string CacheDirectory { get; set; }
[SfcPropertyAttribute]
public:
property String^ CacheDirectory {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member CacheDirectory : string with get, set
function get CacheDirectory () : String
function set CacheDirectory (value : String)

屬性值

型別:System. . :: . .String
包含目錄路徑和資料夾名稱的 String 值。

備註

The cache directory is used to store collected data between upload retries.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.