Partager via


Propriété AutoShrink

Gets or sets a Boolean value

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property AutoShrink As Boolean
    Get
    Set
'Utilisation
Dim instance As DatabaseAdapterBase
Dim value As Boolean

value = instance.AutoShrink

instance.AutoShrink = value
public bool AutoShrink { get; set; }
public:
virtual property bool AutoShrink {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract AutoShrink : bool with get, set
override AutoShrink : bool with get, set
final function get AutoShrink () : boolean
final function set AutoShrink (value : boolean)

Valeur de propriété

Type : System. . :: . .Boolean
T:System.Boolean.
Returns True if AutoShrink is on. Otherwise, False.