Export (0) Print
Expand All

Sequence Constructor (Database, String, String)

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

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

public Sequence(
	Database database,
	string name,
	string schema


Type: Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the database on which to create the sequence.
Type: String
A String value that specifies the name of the sequence.
Type: String
A String value that specifies the schema for 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

© 2015 Microsoft