共用方式為


AutoCreateStatisticsEnabled 屬性

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_AutoCreateStatisticsEnabledDesc")> _
<DisplayNameKeyAttribute("Database_AutoCreateStatisticsEnabledName")> _
Property AutoCreateStatisticsEnabled As Boolean
    Get
    Set
'用途
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.AutoCreateStatisticsEnabled

instance.AutoCreateStatisticsEnabled = value
[DisplayDescriptionKeyAttribute("Database_AutoCreateStatisticsEnabledDesc")]
[DisplayNameKeyAttribute("Database_AutoCreateStatisticsEnabledName")]
bool AutoCreateStatisticsEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_AutoCreateStatisticsEnabledDesc")]
[DisplayNameKeyAttribute(L"Database_AutoCreateStatisticsEnabledName")]
property bool AutoCreateStatisticsEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Database_AutoCreateStatisticsEnabledDesc")>]
[<DisplayNameKeyAttribute("Database_AutoCreateStatisticsEnabledName")>]
abstract AutoCreateStatisticsEnabled : bool with get, set
function get AutoCreateStatisticsEnabled () : boolean
function set AutoCreateStatisticsEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean