Delen via


IScriptable Interface

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)

Syntax

'Declaration
Public Interface IScriptable
'Usage
Dim instance As IScriptable
public interface IScriptable
public interface class IScriptable
type IScriptable =  interface end
public interface IScriptable

Methods

  Name Description
Public method Script() Generates a Transact-SQL script that can be used to re-create the SMO object.
Public method Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the SMO object as specified by the script options.

Top