Share via


RestoreStatement.Kind Property

Gets or sets the RESTORE statement kind.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Kind As RestoreStatementKind
public RestoreStatementKind Kind { get; set; }
public:
property RestoreStatementKind Kind {
    RestoreStatementKind get ();
    void set (RestoreStatementKind value);
}
member Kind : RestoreStatementKind with get, set
function get Kind () : RestoreStatementKind
function set Kind (value : RestoreStatementKind)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.RestoreStatementKind
Returns a RestoreStatementKind enumeration value.

Remarks

Differentiates between restore database/transaction logs and (obsolete) HEADERONLY cases.

.NET Framework Security

See Also

Reference

RestoreStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace