Server.Script Method

 

Produces a script.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodScript()

Generates a StringCollection of Transact-SQL statements that can be used to re-create the server.

System_CAPS_pubmethodScript(ScriptingOptions)

Generates a StringCollection of Transact-SQL statements that can be used to re-create the server by using the specified scripting options.

Return to top
Show: