Export (0) Print
Expand All

Server.InstallSharedDirectory Property

 

Applies To: SQL Server 2016 Preview

Gets the remote shared directory where the installation data is stored for the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

No code example is currently available or this language may not be supported.

Property Value

Type: System.String

A String object that specifies the remote shared directory where the installation data is stored for the instance of SQL Server.

Legacy Code Example

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."
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft