RelocateFile.LogicalFileName Property
Gets or sets the logical file name for the specified file.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Property LogicalFileName As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that specifies the logical file name for the specified file.
Remarks
The default constructor initializes any fields to their default values.
Examples
Backing Up and Restoring Databases and Transaction Logs
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace