Поделиться через


Свойство ManagedInstance.CacheDirectory

Gets the cache directory where temporary files can be stored during deployment onto the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property CacheDirectory As String 
    Get 
    Private Set
'Применение
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)

Значение свойства

Тип: System.String
A String value that specifies the cache directory where temporary files can be stored during deployment onto the instance of SQL Server.

Примеры

VC#

System.Console.WriteLine(managedInstance.CacheDiretory);

VB

System.Console.WriteLine(managedInstance.CacheDirectory)

PowerShell

Write-Host $managedInstance.CacheDirectory 

См. также

Справочник

ManagedInstance Класс

Пространство имен Microsoft.SqlServer.Management.Utility