Database.DateCorrelationOptimization 属性

Gets or sets a value that specifies whether the date correlation optimization is active.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property DateCorrelationOptimization As Boolean 
    Get 
    Set
用法
Dim instance As Database 
Dim value As Boolean 

value = instance.DateCorrelationOptimization

instance.DateCorrelationOptimization = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool DateCorrelationOptimization { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
virtual property bool DateCorrelationOptimization {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
abstract DateCorrelationOptimization : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
override DateCorrelationOptimization : bool with get, set
final function get DateCorrelationOptimization () : boolean 
final 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.

实现

IDatabaseOptions.DateCorrelationOptimization

注释

For more information about date correlation optimization, see 设置数据库选项.

请参阅

参考

Database 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

优化访问相关 datetime 列的查询