Dela via


SqlSmoObject.ScriptCreate Method

Alters the SqlSmoObject according to the parameters.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Overridable Sub ScriptCreate ( _
    query As StringCollection, _
    so As ScriptingOptions _
)
'Usage
Dim query As StringCollection
Dim so As ScriptingOptions

Me.ScriptCreate(query, so)
protected virtual void ScriptCreate(
    StringCollection query,
    ScriptingOptions so
)
protected:
virtual void ScriptCreate(
    StringCollection^ query, 
    ScriptingOptions^ so
)
abstract ScriptCreate : 
        query:StringCollection * 
        so:ScriptingOptions -> unit 
override ScriptCreate : 
        query:StringCollection * 
        so:ScriptingOptions -> unit 
protected function ScriptCreate(
    query : StringCollection, 
    so : ScriptingOptions
)