Partager via


Propriété Sequence.IsCycleEnabled

Gets or sets a Boolean that specifies whether the sequence object should restart from the minimum value (or maximum for descending sequence objects) or throw an exception when its minimum or maximum value is exceeded.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsCycleEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As Sequence 
Dim value As Boolean 

value = instance.IsCycleEnabled

instance.IsCycleEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsCycleEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsCycleEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsCycleEnabled : bool with get, set
function get IsCycleEnabled () : boolean 
function set IsCycleEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
A Boolean which is true if the sequence will restart; otherwise false.

Voir aussi

Référence

Sequence Classe

Espace de noms Microsoft.SqlServer.Management.Smo