Share via


Sequence.CacheSize Property

Gets or sets the number of sequence values to be cached.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CacheSize As Integer 
    Get 
    Set
'Usage
Dim instance As Sequence 
Dim value As Integer 

value = instance.CacheSize

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

Property Value

Type: System.Int32
An Int32 representing the number of sequence values cached.

See Also

Reference

Sequence Class

Microsoft.SqlServer.Management.Smo Namespace