Partager via


Propriété CacheDirectory

Obtient ou définit le chemin d'accès et le nom du dossier du répertoire du cache.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property CacheDirectory As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
Valeur String qui contient le chemin d'accès au répertoire et le nom du dossier.

Notes

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.