Export (0) Print
Expand All

IDataDestination.ScriptConstraints Method

Visual Studio 2010

Retrieves a script for all the constraints in the given schema.

Namespace:  Microsoft.SqlServerCe.Management.Scripting
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

StringCollection ScriptConstraints(
	ReadOnlyCollection<Constraint> constraints,
	ScriptOptions options
)

Parameters

constraints
Type: System.Collections.ObjectModel.ReadOnlyCollection<Constraint>
Constraints information.
options
Type: Microsoft.SqlServerCe.Management.Scripting.ScriptOptions
Script options that need to be supported.

Return Value

Type: System.Collections.Specialized.StringCollection
Script for the given constraints.
Show:
© 2014 Microsoft