共用方式為


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.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsCycleEnabled As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

Sequence 類別

Microsoft.SqlServer.Management.Smo 命名空間