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 命名空间