CollectionSet.ISfcCreatable.ScriptCreate 方法

Produces the script to create this object to storage in its current state. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Private Function ScriptCreate As ISfcScript 
    Implements ISfcCreatable.ScriptCreate
用法
Dim instance As CollectionSet 
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
Returns ISfcScript. An ISfcScript object that contains the script.

实现

ISfcCreatable.ScriptCreate()

请参阅

参考

CollectionSet 类

Microsoft.SqlServer.Management.Collector 命名空间