ISfcCreatable.ScriptCreate 方法
Produces the script to create this object to storage in its current state. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Private Function ScriptCreate As ISfcScript
Implements ISfcCreatable.ScriptCreate
'用途
Dim instance As ServerGroup
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 script.
實作
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。