Propriedade do RDL RestoreStatement.DatabaseName
Gets or sets the database to restore (can be Identifier or variable Literal).
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
Public Property DatabaseName As IdentifierOrValueExpression
Get
Set
'Uso
Dim instance As RestoreStatement
Dim value As IdentifierOrValueExpression
value = instance.DatabaseName
instance.DatabaseName = value
public IdentifierOrValueExpression DatabaseName { get; set; }
public:
property IdentifierOrValueExpression^ DatabaseName {
IdentifierOrValueExpression^ get ();
void set (IdentifierOrValueExpression^ value);
}
member DatabaseName : IdentifierOrValueExpression with get, set
function get DatabaseName () : IdentifierOrValueExpression
function set DatabaseName (value : IdentifierOrValueExpression)
Valor da propriedade
Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.IdentifierOrValueExpression
The database to restore.