EdgeConstraint.Script Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Script() |
Utility method to create DDL statement for this object. |
Script(ScriptingOptions) |
Utility method to create DDL statements for this object by passing additional scripting options as arguments. |
Script()
Utility method to create DDL statement for this object.
public System.Collections.Specialized.StringCollection Script ();
abstract member Script : unit -> System.Collections.Specialized.StringCollection
override this.Script : unit -> System.Collections.Specialized.StringCollection
Public Function Script () As StringCollection
Returns
Implements
Applies to
Script(ScriptingOptions)
Utility method to create DDL statements for this object by passing additional scripting options as arguments.
public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
abstract member Script : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
override this.Script : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
Public Function Script (scriptingOptions As ScriptingOptions) As StringCollection
Parameters
- scriptingOptions
- ScriptingOptions
Instance of ScriptingOptions that encapsulates SQL Server scripting preferences
Returns
StringCollection wrapping associated SQL scripts for this object