Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Server.Script Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
'Declaration
Public Function Script As StringCollection
'Usage
Dim instance As Server 
Dim returnValue As StringCollection 

returnValue = instance.Script()

Return Value

Type: System.Collections.Specialized.StringCollection
A StringCollection object value that contains a list of Transact-SQL statements in the script.

Implements

IScriptable.Script
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.