共用方式為


TempdbLogPath 屬性

Gets the path for the tempdb database transaction log.

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

語法

'宣告
<DisplayNameKeyAttribute("IServerSetupFacet_TempdbLogPathName")> _
<DisplayDescriptionKeyAttribute("IServerSetupFacet_TempdbLogPathDesc")> _
ReadOnly Property TempdbLogPath As String
    Get
'用途
Dim instance As IServerSetupFacet
Dim value As String

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

屬性值

型別:System. . :: . .String
A String value that specifies the path for the tempdb database transaction log .

範例

設定屬性