次の方法で共有


Script メソッド (ScriptingOptions)

スクリプトの文字列コレクション オブジェクトを作成します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function Script ( _
    scriptingOptions As ScriptingOptions _
) As StringCollection
'使用
Dim instance As PlanGuide
Dim scriptingOptions As ScriptingOptions
Dim returnValue As StringCollection

returnValue = instance.Script(scriptingOptions)
public StringCollection Script(
    ScriptingOptions scriptingOptions
)
public:
virtual StringCollection^ Script(
    ScriptingOptions^ scriptingOptions
) sealed
abstract Script : 
        scriptingOptions:ScriptingOptions -> StringCollection 
override Script : 
        scriptingOptions:ScriptingOptions -> StringCollection 
public final function Script(
    scriptingOptions : ScriptingOptions
) : StringCollection

実装

IScriptable. . :: . .Script(ScriptingOptions)