Share via


RestorePlan.Script Method

Verifies the Restore plan and scripts the operation.

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

Syntax

'Declaration
Public Function Script As StringCollection
'Usage
Dim instance As RestorePlan 
Dim returnValue As StringCollection 

returnValue = instance.Script()
public StringCollection Script()
public:
StringCollection^ Script()
member Script : unit -> StringCollection
public function Script() : StringCollection

Return Value

Type: System.Collections.Specialized.StringCollection
The string collection of the T-SQL script for the operation.

See Also

Reference

RestorePlan Class

Microsoft.SqlServer.Management.Smo Namespace