Server.InstallDataDirectory Property

Gets the local Windows 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)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property InstallDataDirectory As String
    Get
'Usage
Dim instance As Server
Dim value As String

value = instance.InstallDataDirectory
[SfcPropertyAttribute]
public string InstallDataDirectory { get; }
[SfcPropertyAttribute]
public:
property String^ InstallDataDirectory {
    String^ get ();
}
[<SfcPropertyAttribute>]
member InstallDataDirectory : string
function get InstallDataDirectory () : String

Property Value

Type: System.String
A String object that specifies the local directory where the installation data is stored for the instance of SQL Server.

See Also

Reference

Planning a SQL Server Installation

Other Resources