InstallSharedDirectory 속성
SQL Server 인스턴스에 대해 설치 데이터가 저장되는 원격 공유 디렉터리를 가져옵니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property InstallSharedDirectory As String
Get
‘사용 방법
Dim instance As Server
Dim value As String
value = instance.InstallSharedDirectory
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string InstallSharedDirectory { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ InstallSharedDirectory {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member InstallSharedDirectory : string
function get InstallSharedDirectory () : String
속성 값
유형: System. . :: . .String
SQL Server 인스턴스에 대해 설치 데이터가 저장되는 원격 공유 디렉터리를 지정하는 String 개체입니다.
예
C#
Server srv = new Server("(local)");
Console.WriteLine("SQL Server installation data is stored in the " + srv.InstallSharedDirectory + " remote shared directory.");
PowerShell
$srv = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")
Write-Host "SQL Server installation data is stored in the" $srv.InstallSharedDirectory "remote shared directory."
참고 항목
참조
Planning a SQL Server Installation