Server.InstallSharedDirectory 속성
Gets the remote shared directory where the installation data is stored for the instance of 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
A String object that specifies the remote shared directory where the installation data is stored for the instance of SQL Server.
예
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."
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스
Planning a SQL Server Installation