Share via


Scripter Class

Definition

Instance class encapsulating Scripter object

public class Scripter : Microsoft.SqlServer.Management.Smo.DependencyWalker
type Scripter = class
    inherit DependencyWalker
Public Class Scripter
Inherits DependencyWalker
Inheritance

Constructors

Scripter()
Scripter(Server)

Properties

DependencyTree (Inherited from DependencyWalker)
FilterCallbackFunction (Inherited from DependencyWalker)
KnownObjectsList (Inherited from DependencyWalker)
Options
PrefetchObjects
Server (Inherited from DependencyWalker)
Total (Inherited from DependencyWalker)
TotalCount (Inherited from DependencyWalker)

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

DiscoveryProgress (Inherited from DependencyWalker)
ScriptingError
ScriptingProgress

Applies to