IServerSetupFacet.TempdbPrimaryFilePath Property

Gets the path for the tempdb database primary data file.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("IServerSetupFacet_TempdbPrimaryFilePathName")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_TempdbPrimaryFilePathDesc")> _
ReadOnly Property TempdbPrimaryFilePath As String
    Get
'Usage
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

Property Value

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