Compartir a través de


DefaultFile Propiedad

Gets the default file for the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")> _
<DisplayNameKeyAttribute("Server_DefaultFileName")> _
ReadOnly Property DefaultFile As String
    Get
'Uso
Dim instance As IServerSetupFacet
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the default file for the instance of SQL Server.