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.