Share via


Scripter Class

Definition

Instance class encapsulating Scripter object

public class Scripter : Microsoft.SqlServer.Management.Smo.DependencyWalker
Inheritance

Constructors

Properties

Methods

DiscoverDependencies(SqlSmoObject[], Boolean) (Inherited from DependencyWalker)
DiscoverDependencies(SqlSmoObject[], DependencyType) (Inherited from DependencyWalker)
DiscoverDependencies(Urn[], Boolean) (Inherited from DependencyWalker)
DiscoverDependencies(Urn[], DependencyType) (Inherited from DependencyWalker)
DiscoverDependencies(UrnCollection, Boolean) (Inherited from DependencyWalker)
DiscoverDependencies(UrnCollection, DependencyType) (Inherited from DependencyWalker)
EnumDependencies(SqlSmoObject, DependencyType)

list the urns in the order in which the objects must be created respectively dropped

EnumScript(SqlSmoObject[])
EnumScript(Urn[])
EnumScript(UrnCollection)
EnumScriptWithList(DependencyCollection)
EnumScriptWithList(SqlSmoObject[])
EnumScriptWithList(Urn[])
EnumScriptWithList(UrnCollection)
GetServerObject() (Inherited from DependencyWalker)
Init()
Script(SqlSmoObject[])

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

Script(Urn[])

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

Script(UrnCollection)

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

ScriptWithList(DependencyCollection)

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

ScriptWithList(SqlSmoObject[])

Returns a StringCollection object with the script for the passed objects.

ScriptWithList(Urn[])

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

ScriptWithList(UrnCollection)

Returns a StringCollection object with the script for the passed objects. This method throws an error if ScriptData is true

WalkDependencies(DependencyTree) (Inherited from DependencyWalker)

Events

Applies to