Udostępnij przez


Właściwość ManagedInstance.CacheDirectory

Pobiera katalogu pamięci podręcznej, w którym przechowywane pliki tymczasowe podczas wdrażania na wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Utility
Zestaw:  Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property CacheDirectory As String
    Get
    Private Set
'Użycie
Dim instance As ManagedInstance
Dim value As String

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

Wartość właściwości

Typ: System.String
A String wartość określająca katalogu pamięci podręcznej, w którym przechowywane pliki tymczasowe podczas wdrażania na wystąpienie SQL Server.

Przykłady

VC #

System.Console.WriteLine(managedInstance.CacheDiretory);

VB

System.Console.WriteLine(managedInstance.CacheDirectory)

PowerShell

Write-Host $managedInstance.CacheDirectory