Udostępnij przez


IDatabasePerformanceFacet.AutoShrink Property

This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Database_AutoShrinkDesc")> _
<DisplayNameKeyAttribute("Database_AutoShrinkName")> _
Property AutoShrink As Boolean
[DisplayDescriptionKeyAttribute("Database_AutoShrinkDesc")] 
[DisplayNameKeyAttribute("Database_AutoShrinkName")] 
bool AutoShrink { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_AutoShrinkDesc")] 
[DisplayNameKeyAttribute(L"Database_AutoShrinkName")] 
property bool AutoShrink {
    bool get ();
    void set (bool value);
}
/** @property */
boolean get_AutoShrink ()

/** @property */
void set_AutoShrink (boolean value)
function get AutoShrink () : boolean

function set AutoShrink (value : boolean)

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.