Export (0) Print
Expand All

Scripter Methods

The Scripter type exposes the following members.

  Name Description
Public method DiscoverDependencies(SqlSmoObject[], DependencyType) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified object array of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method DiscoverDependencies(SqlSmoObject[], Boolean) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified object array of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method DiscoverDependencies(Urn[], DependencyType) Creates a hierarchical object tree that represents the parent- or child-dependent relationships for a specified Urn array of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method DiscoverDependencies(Urn[], Boolean) Creates a hierarchical object tree that represents the parent- or child-dependent relationships for a specified Urn array of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method DiscoverDependencies(UrnCollection, DependencyType) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified Urn collection of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method DiscoverDependencies(UrnCollection, Boolean) Creates a hierarchical object tree that represents the parent or child dependent relationships for a specified Urn collection of SQL Server objects on the instance of SQL Server. (Inherited from DependencyWalker.)
Public method Static member EnumDependencies Returns an enumerated list that includes the specified object and child or parent dependencies.
Public method EnumScript(SqlSmoObject[]) Returns an IEnumerable<script> object that contains a script.
Public method EnumScript(Urn[]) Returns an IEnumerable <script> interface.
Public method EnumScript(UrnCollection) Returns an IEnumerable <script> interface.
Public method EnumScriptWithList(DependencyCollection) Creates a linear Transact-SQL script based on a dependency collection.
Public method EnumScriptWithList(SqlSmoObject[]) Creates a linear Transact-SQL script based on an array of SqlSmoObjects.
Public method EnumScriptWithList(Urn[]) Creates a linear Transact-SQL script that is based on an array of URNs.
Public method EnumScriptWithList(UrnCollection) Creates a linear Transact-SQL script based on a URN collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetServerObject Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running. (Inherited from DependencyWalker.)
Public method GetType (Inherited from Object.)
Protected method Init Initializes the Scripter object.
Protected method MemberwiseClone (Inherited from Object.)
Public method Script(SqlSmoObject[]) Generates Transact-SQL scripts that can be used to re-create a list of objects.
Public method Script(Urn[]) Creates a Transact-SQL script for a set of objects that are specified with an array of Urn objects.
Public method Script(UrnCollection) Creates a Transact-SQL script for a set of objects that are specified with a Urn object collection.
Public method ScriptWithList(DependencyCollection) Creates linear Transact-SQL scripts for a DependencyCollection object. 
Public method ScriptWithList(SqlSmoObject[]) Creates linear Transact-SQL scripts for an array of SqlSmoObject objects. 
Public method ScriptWithList(Urn[]) Creates linear Transact-SQL scripts for an array of Urn objects. 
Public method ScriptWithList(UrnCollection) Creates linear Transact-SQL scripts for a UrnCollection object. 
Public method ToString (Inherited from Object.)
Public method WalkDependencies Creates a linear list of objects and their dependencies from a specified DependencyTree object. (Inherited from DependencyWalker.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft