共用方式為


InstallDataDirectory 屬性

Gets the local Windows 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> _
Public ReadOnly Property InstallDataDirectory As String
    Get
'用途
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

屬性值

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

請參閱

參考

Planning a SQL Server Installation

其他資源