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
Nome | Description | |
---|---|---|
Scripter | Overloaded. Initializes a new instance of the Scripter class. |
Torna all'inizio
Public Properties
(see also Protected Properties )
Nome | Description | |
---|---|---|
FilterCallbackFunction | Gets or sets the scripting options that allow URNs to be filtered out while running the DiscoverDependencies method. (inherited from DependencyWalker) | |
Options | Gets or sets the scripting options for the Scripter object and all the scripting operations on the instance of SQL Server. | |
PrefetchObjects | Gets or sets the Boolean property value that specifies whether the objects are loaded prior to scripting operations or as they are required. | |
Server | Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with. (inherited from DependencyWalker) |
Torna all'inizio
Protected Properties
Nome | Description | |
---|---|---|
DependencyTree | (inherited from DependencyWalker ) | |
KnownObjectsList | (inherited from DependencyWalker ) | |
Total | (inherited from DependencyWalker ) | |
TotalCount | (inherited from DependencyWalker ) |
Torna all'inizio
Public Methods
(see also Protected Methods )
Nome | Description | |
---|---|---|
DiscoverDependencies | Overloaded. (inherited from DependencyWalker ) | |
EnumDependencies | Returns an enumerated list that includes the specified object and child or parent dependencies. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
Script | Overloaded. Generates Transact-SQL scripts that can be used to re-create a list of objects. | |
ScriptWithList | Overloaded. Creates linear Transact-SQL scripts for a list of objects. | |
ToString | (inherited from Object ) | |
WalkDependencies | (inherited from DependencyWalker ) |
Torna all'inizio
Protected Methods
Nome | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
GetServerObject | Returns the Server object that represents the instance of Microsoft SQL Server on which the dependency discovery operation is running. (inherited from DependencyWalker) | |
Init | Initializes the Scripter object. | |
MemberwiseClone | (inherited from Object ) |
Torna all'inizio
Public Events
Nome | Description | |
---|---|---|
DiscoveryProgress | Raises an event at intervals and reports progress on the DiscoveryProgress method. (inherited from DependencyWalker) | |
ScriptingError | Raises an event when an error occurs during a scripting operation. | |
ScriptingProgress | Raises an event to receive information about the progress of the scripting operation. |
Torna all'inizio
Vedere anche
Riferimento
Scripter Class
Microsoft.SqlServer.Management.Smo Namespace