Share via


CollectorConfigStore.CacheDirectory Property

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

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property CacheDirectory As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
A String value that contains the directory path and folder name.

Remarks

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.

See Also

Reference

CollectorConfigStore Class

Microsoft.SqlServer.Management.Collector Namespace