Condividi tramite


Proprietà RelocateFile.PhysicalFileName

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
Public Property PhysicalFileName As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

The default constructor initializes any fields to their default values.

Esempi

Backup e ripristino dei database e dei log delle transazioni

Vedere anche

Riferimento

RelocateFile Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

RESTORE (Transact-SQL)

Backup e ripristino di database SQL Server