共用方式為


InstallDataDirectory 屬性

Gets the directory for install data.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_InstallDataDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_InstallDataDirectoryName")> _
ReadOnly Property InstallDataDirectory As String
    Get
'用途
Dim instance As IServerSetupFacet
Dim value As String

value = instance.InstallDataDirectory
[DisplayDescriptionKeyAttribute("Server_InstallDataDirectoryDesc")]
[DisplayNameKeyAttribute("Server_InstallDataDirectoryName")]
string InstallDataDirectory { get; }
[DisplayDescriptionKeyAttribute(L"Server_InstallDataDirectoryDesc")]
[DisplayNameKeyAttribute(L"Server_InstallDataDirectoryName")]
property String^ InstallDataDirectory {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_InstallDataDirectoryDesc")>]
[<DisplayNameKeyAttribute("Server_InstallDataDirectoryName")>]
abstract InstallDataDirectory : string
function get InstallDataDirectory () : String

屬性值

型別:System. . :: . .String
A String value that specifies the directory for install data.

範例

設定屬性