共用方式為


TempdbPrimaryFilePath 屬性

Gets the path for the tempdb database primary data file.

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

語法

'宣告
<DisplayNameKeyAttribute("IServerSetupFacet_TempdbPrimaryFilePathName")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_TempdbPrimaryFilePathDesc")> _
ReadOnly Property TempdbPrimaryFilePath As String
    Get
'用途
Dim instance As IServerSetupFacet
Dim value As String

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

屬性值

型別:System. . :: . .String
A String value that specifies the path for the tempdb database primary data file.

範例

設定屬性