Export (0) Print
Expand All

Sequence Constructor (Database, String)

Initializes a new instance of the Sequence class with specified parent database and name.

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

public Sequence(
	Database database,
	string name
)

Parameters

database
Type: Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the database on which to create the sequence.
name
Type: String
A String value that specifies the name of the sequence.

The default constructor initializes any fields to their default values.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft