共用方式為


CollectorConfigStore.CacheDirectory 屬性

Gets or sets the path and folder name for the cache directory.

命名空間:  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
A String value that contains the directory path and folder name.

備註

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.

請參閱

參考

CollectorConfigStore 類別

Microsoft.SqlServer.Management.Collector 命名空間