Scripter Scripter 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() Scripter()
Scripter(Server) Scripter(Server) Scripter(Server)

Properties

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

Methods

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

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

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

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

Script(UrnCollection) Script(UrnCollection) Script(UrnCollection)

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

Script(Urn[]) Script(Urn[]) Script(Urn[])

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

ScriptWithList(DependencyCollection) ScriptWithList(DependencyCollection) ScriptWithList(DependencyCollection)

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

ScriptWithList(SqlSmoObject[]) ScriptWithList(SqlSmoObject[]) ScriptWithList(SqlSmoObject[])

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

ScriptWithList(UrnCollection) ScriptWithList(UrnCollection) ScriptWithList(UrnCollection)

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

ScriptWithList(Urn[]) ScriptWithList(Urn[]) ScriptWithList(Urn[])

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

WalkDependencies(DependencyTree) WalkDependencies(DependencyTree) WalkDependencies(DependencyTree) Inherited from DependencyWalker

Events

DiscoveryProgress DiscoveryProgress DiscoveryProgress Inherited from DependencyWalker
ScriptingError ScriptingError ScriptingError
ScriptingProgress ScriptingProgress ScriptingProgress

Applies to