Condividi tramite


Proprietà RelocateFile.LogicalFileName

Gets or sets the logical 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 LogicalFileName As String 
    Get 
    Set
'Utilizzo
Dim instance As RelocateFile 
Dim value As String 

value = instance.LogicalFileName

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

Valore proprietà

Tipo: System.String
A String value that specifies the logical 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