IDatabaseOptions.DateCorrelationOptimization 屬性
Gets or sets a Boolean property value that specifies whether the date correlation optimization is active.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Database_DateCorrelationOptimizationName")> _
<DisplayDescriptionKeyAttribute("Database_DateCorrelationOptimizationDesc")> _
Property DateCorrelationOptimization As Boolean
Get
Set
'用途
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)
屬性值
型別: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.
範例
How to Get and Set a Property in Visual Basic .NET
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間