Delen via


HadrDatabaseOption.HadrOption Property

Gets or sets the hadr option.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property HadrOption As HadrDatabaseOptionKind 
    Get 
    Set
'Usage
Dim instance As HadrDatabaseOption 
Dim value As HadrDatabaseOptionKind 

value = instance.HadrOption

instance.HadrOption = value
public HadrDatabaseOptionKind HadrOption { get; set; }
public:
property HadrDatabaseOptionKind HadrOption {
    HadrDatabaseOptionKind get ();
    void set (HadrDatabaseOptionKind value);
}
member HadrOption : HadrDatabaseOptionKind with get, set
function get HadrOption () : HadrDatabaseOptionKind 
function set HadrOption (value : HadrDatabaseOptionKind)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.HadrDatabaseOptionKind
The hadr option.

See Also

Reference

HadrDatabaseOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace