ScriptCreate méthode
Creates a new audit specification script.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Overrides Sub ScriptCreate ( _
query As StringCollection, _
so As ScriptingOptions _
)
'Utilisation
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
)
Paramètres
- query
Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that specifies the audit specification script to be created.
- so
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that specifies the scripting options associated with the new script.