Server.InstallSharedDirectory Server.InstallSharedDirectory Server.InstallSharedDirectory Property

정의

SQL Server 인스턴스에 대해 설치 데이터가 저장되는 원격 공유 디렉터리를 가져옵니다. Gets the remote shared directory where the installation data is stored for the instance of SQL Server.

public:
 property System::String ^ InstallSharedDirectory { System::String ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
public string InstallSharedDirectory { get; }
Public ReadOnly Property InstallSharedDirectory As String
속성 값

A String SQL Server 인스턴스에 대해 설치 데이터가 저장 되는 원격 공유 디렉터리를 지정 하는 개체입니다. A String object that specifies the remote shared directory where the installation data is stored for the instance of SQL Server.

예제

C#C#

Server srv = new Server("(local)");  
Console.WriteLine("SQL Server installation data is stored in the " + srv.InstallSharedDirectory + " remote shared directory.");  

PowerShellPowerShell

$srv = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")  
Write-Host "SQL Server installation data is stored in the" $srv.InstallSharedDirectory "remote shared directory."  

적용 대상