Udostępnij za pośrednictwem


Metoda ISfcCreatable.ScriptCreate

Generuje skrypt w celu utworzenia tego obiektu do magazynu w bieżącym stanie.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Function ScriptCreate As ISfcScript
'Użycie
Dim instance As ISfcCreatable
Dim returnValue As ISfcScript

returnValue = instance.ScriptCreate()
ISfcScript ScriptCreate()
ISfcScript^ ScriptCreate()
abstract ScriptCreate : unit -> ISfcScript 
function ScriptCreate() : ISfcScript

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
ISfcScript Obiekt, który zawiera script.