IDatabaseOptions.DateCorrelationOptimization Property
Gets or sets a Boolean property value that specifies whether the date correlation optimization is active.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Database_DateCorrelationOptimizationName")> _
<DisplayDescriptionKeyAttribute("Database_DateCorrelationOptimizationDesc")> _
Property DateCorrelationOptimization As Boolean
Get
Set
'Usage
Dim instance As IDatabaseOptions
Dim value As Boolean
value = instance.DateCorrelationOptimization
instance.DateCorrelationOptimization = value
[DisplayNameKeyAttribute("Database_DateCorrelationOptimizationName")]
[DisplayDescriptionKeyAttribute("Database_DateCorrelationOptimizationDesc")]
bool DateCorrelationOptimization { get; set; }
[DisplayNameKeyAttribute(L"Database_DateCorrelationOptimizationName")]
[DisplayDescriptionKeyAttribute(L"Database_DateCorrelationOptimizationDesc")]
property bool DateCorrelationOptimization {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("Database_DateCorrelationOptimizationName")>]
[<DisplayDescriptionKeyAttribute("Database_DateCorrelationOptimizationDesc")>]
abstract DateCorrelationOptimization : bool with get, set
function get DateCorrelationOptimization () : boolean
function set DateCorrelationOptimization (value : boolean)
Property Value
Type: System.Boolean
A Boolean value that specifies whether the date correlation optimization is active.If True, date correlation optimization is active.If False (default), date correlation optimization is not active.
Examples
How to Get and Set a Property in Visual Basic .NET
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace