共用方式為


ScriptCreate 方法

Creates a script that is used to create the policy.

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

語法

'宣告
Public Function ScriptCreate As ISfcScript
'用途
Dim instance As Policy
Dim returnValue As ISfcScript

returnValue = instance.ScriptCreate()
public ISfcScript ScriptCreate()
public:
virtual ISfcScript^ ScriptCreate() sealed
abstract ScriptCreate : unit -> ISfcScript 
override ScriptCreate : unit -> ISfcScript 
public final function ScriptCreate() : ISfcScript

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the new script.

實作

ISfcCreatable. . :: . .ScriptCreate() () () ()