IScriptable Interface
SQL Server 2012
The IScriptable class represents the interface used to create Transact-SQL scripts of SMO objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| Name | Description | |
|---|---|---|
![]() | Script() | Generates a Transact-SQL script that can be used to re-create the SMO object. |
![]() | Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the SMO object as specified by the script options. |
.gif?cs-save-lang=1&cs-lang=jscript)