Share via


Sequence.IsCycleEnabled Property

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.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsCycleEnabled As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

Sequence Class

Microsoft.SqlServer.Management.Smo Namespace