ISfcCreatable.ScriptCreate 方法
Creates a script that is used to create the policy. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Private Function ScriptCreate As ISfcScript
Implements ISfcCreatable.ScriptCreate
'用途
Dim instance As PolicyCategory
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcCreatable).ScriptCreate()
ISfcScript ISfcCreatable.ScriptCreate()
private:
virtual ISfcScript^ ScriptCreate() sealed = ISfcCreatable::ScriptCreate
private abstract ScriptCreate : unit -> ISfcScript
private override ScriptCreate : unit -> ISfcScript
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the new script.