共用方式為


RestorePlan.Script 方法

Verifies the Restore plan and scripts the operation.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Function Script As StringCollection
'用途
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

傳回值

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

請參閱

參考

RestorePlan 類別

Microsoft.SqlServer.Management.Smo 命名空間