Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the database to restore.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Property DatabaseName As TSqlFragment
'Usage
Dim instance As RestoreStatement
Dim value As TSqlFragment
value = instance.DatabaseName
instance.DatabaseName = value
public TSqlFragment DatabaseName { get; set; }
public:
property TSqlFragment^ DatabaseName {
TSqlFragment^ get ();
void set (TSqlFragment^ value);
}
public function get DatabaseName () : TSqlFragment
public function set DatabaseName (value : TSqlFragment)
Property Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Remarks
Value can be Identifier or variable Literal.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.