Construtor RelocateFile (String, String)
Initializes a new instance of the RelocateFile class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)
Sintaxe
'Declaração
Public Sub New ( _
logicalFileName As String, _
physicalFileName As String _
)
'Uso
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
)
Parâmetros
- logicalFileName
Tipo: System.String
A String value that specifies the logical file name.
- physicalFileName
Tipo: System.String
A String value that specifies the physical file name.
Comentários
The default constructor initializes any fields to their default values.
Exemplos
Fazendo backup e restaurando bancos de dados e logs de transações
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo