Condividi tramite


RelocateFile.LogicalFileName Property

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Property LogicalFileName As String
public string LogicalFileName { get; set; }
public:
property String^ LogicalFileName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_LogicalFileName ()

/** @property */
public void set_LogicalFileName (String value)
public function get LogicalFileName () : String

public function set LogicalFileName (value : String)

Valore proprietà

A String value that specifies the logical file name for the specified file.

Osservazioni

The default constructor initializes any fields to their default values.

Esempio

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

RelocateFile Class
RelocateFile Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Backing Up and Restoring Databases and Transaction Logs
RESTORE (Transact-SQL)
Backup e ripristino di database in SQL Server