Freigeben über


RelocateFile.PhysicalFileName-Eigenschaft

Gets or sets the physical file name for the specified file.

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

Syntax

'Declaration
Public Property PhysicalFileName As String 
    Get 
    Set
'Usage
Dim instance As RelocateFile 
Dim value As String 

value = instance.PhysicalFileName

instance.PhysicalFileName = value
public string PhysicalFileName { get; set; }
public:
property String^ PhysicalFileName {
    String^ get ();
    void set (String^ value);
}
member PhysicalFileName : string with get, set
function get PhysicalFileName () : String 
function set PhysicalFileName (value : String)

Eigenschaftswert

Typ: System.String
A String value that specifies the physical file name for the specified file.

Hinweise

The default constructor initializes any fields to their default values.

Beispiele

Sichern und Wiederherstellen von Datenbanken und Transaktionsprotokollen

Siehe auch

Verweis

RelocateFile Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

RESTORE (Transact-SQL)

Sichern und Wiederherstellen von SQL Server-Datenbanken