The Scripter object is the overall, top-level object for managing scripting operations.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
'Declaration Public Class Scripter _ Inherits DependencyWalker 'Usage Dim instance As Scripter
public class Scripter : DependencyWalker
public ref class Scripter : public DependencyWalker
type Scripter = class inherit DependencyWalker end
public class Scripter extends DependencyWalker
The Scripter object allows programmatic access to scripting settings and is responsible for the following scripting functionality:
Output script to memory and file.
Calling the instance objects to be scripted.
Managing context of a script operation, such as checking whether an object has already been scripted.
To get Scripter object properties, users can be a member of the public fixed server role.
To set Scripter object properties, users can be a member of the public fixed server role.
To run a script operation, users require permissions for the objects that are being scripted.
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.