Share via


StoredProcedure.Script Method

Generates a Transact-SQL script that can be used to re-create the stored procedure.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
StoredProcedure.Script ()
Generates a Transact-SQL script that can be used to re-create the stored procedure.
StoredProcedure.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the stored procedure as specified by the script options.

See Also

Reference

StoredProcedure Class
StoredProcedure Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Scripting
CREATE PROCEDURE (Transact-SQL)
Using Linked Servers in SMO