Metodo ScriptCreate
Creates a new audit specification script.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Protected Overrides Sub ScriptCreate ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Utilizzo
Dim query As StringCollection
Dim so As ScriptingOptions
Me.ScriptCreate(query, so)
protected override void ScriptCreate(
StringCollection query,
ScriptingOptions so
)
protected:
virtual void ScriptCreate(
StringCollection^ query,
ScriptingOptions^ so
) override
abstract ScriptCreate :
query:StringCollection *
so:ScriptingOptions -> unit
override ScriptCreate :
query:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptCreate(
query : StringCollection,
so : ScriptingOptions
)
Parametri
- query
Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that specifies the audit specification script to be created.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that specifies the scripting options associated with the new script.
Vedere anche