Udostępnij przez


Scripter Members

The Scripter object is the overall, top-level object for managing scripting operations.

The following tables list the members exposed by the Scripter type.

Public Constructors

  Name Description
Scripter Overloaded. Initializes a new instance of the Scripter class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms220219.pubproperty(pl-pl,SQL.100).gif FilterCallbackFunction  Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method. (inherited from DependencyWalker)
ms220219.pubproperty(pl-pl,SQL.100).gif Options Gets or sets the scripting options for the Scripter object and all the scripting operations on the instance of SQL Server.
ms220219.pubproperty(pl-pl,SQL.100).gif PrefetchObjects Gets or sets the Boolean property value that specifies whether the objects are loaded before scripting operations, or only as they are required.
ms220219.pubproperty(pl-pl,SQL.100).gif Server  Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with. (inherited from DependencyWalker)

Top

Protected Properties

  Name Description
ms220219.protproperty(pl-pl,SQL.100).gif DependencyTree  Gets or sets a server Dependency Tree. (inherited from DependencyWalker)
ms220219.protproperty(pl-pl,SQL.100).gif KnownObjectsList  Gets or sets a list of all known objects in a server. (inherited from DependencyWalker)
ms220219.protproperty(pl-pl,SQL.100).gif Total  (inherited from DependencyWalker )
ms220219.protproperty(pl-pl,SQL.100).gif TotalCount  Gets or set the count of objects discovered by a Dependency Walker. (inherited from DependencyWalker)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220219.pubmethod(pl-pl,SQL.100).gif DiscoverDependencies  Overloaded. (inherited from DependencyWalker )
ms220219.pubmethod(pl-pl,SQL.100).gifms220219.static(pl-pl,SQL.100).gif EnumDependencies Returns an enumerated list that includes the specified object and child or parent dependencies.
ms220219.pubmethod(pl-pl,SQL.100).gif EnumScript Overloaded. Returns an IEnumerable<script> object containing a script
ms220219.pubmethod(pl-pl,SQL.100).gif EnumScriptWithList Overloaded. Creates a linear Transact-SQL script for a list of objects.
ms220219.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms220219.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
ms220219.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
ms220219.pubmethod(pl-pl,SQL.100).gifms220219.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
ms220219.pubmethod(pl-pl,SQL.100).gif Script Overloaded. Generates Transact-SQL scripts that can be used to re-create a list of objects.
ms220219.pubmethod(pl-pl,SQL.100).gif ScriptWithList Overloaded. Creates linear Transact-SQL scripts for a list of objects.
ms220219.pubmethod(pl-pl,SQL.100).gif ToString  (inherited from Object )
ms220219.pubmethod(pl-pl,SQL.100).gif WalkDependencies  (inherited from DependencyWalker )

Top

Protected Methods

  Name Description
ms220219.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms220219.protmethod(pl-pl,SQL.100).gif GetServerObject  Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running. (inherited from DependencyWalker)
ms220219.protmethod(pl-pl,SQL.100).gif Init Initializes the Scripter object.
ms220219.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms220219.pubevent(pl-pl,SQL.100).gif DiscoveryProgress  Raises an event at intervals and reports progress on the DiscoveryProgress method. (inherited from DependencyWalker)
ms220219.pubevent(pl-pl,SQL.100).gif ScriptingError Raises an event when an error occurs during a scripting operation.
ms220219.pubevent(pl-pl,SQL.100).gif ScriptingProgress Raises an event to receive information about the progress of the scripting operation.

Top