Jegyzet
Az oldalhoz való hozzáférés engedélyezést igényel. Próbálhatod be jelentkezni vagy könyvtárat váltani.
Az oldalhoz való hozzáférés engedélyezést igényel. Megpróbálhatod a könyvtár váltását.
Initializes a new instance of the RelocateFile class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub New ( _
logicalFileName As String, _
physicalFileName As String _
)
'Usage
Dim logicalFileName As String
Dim physicalFileName As String
Dim instance As New RelocateFile(logicalFileName, _
physicalFileName)
public RelocateFile(
string logicalFileName,
string physicalFileName
)
public:
RelocateFile(
String^ logicalFileName,
String^ physicalFileName
)
new :
logicalFileName:string *
physicalFileName:string -> RelocateFile
public function RelocateFile(
logicalFileName : String,
physicalFileName : String
)
Parameters
- logicalFileName
Type: System.String
A String value that specifies the logical file name.
- physicalFileName
Type: System.String
A String value that specifies the physical file name.
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