Share via


AuditSpecification.ScriptCreate Method

Creates a new audit specification script.

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

Syntax

'Declaration
Protected Overrides Sub ScriptCreate ( _
    query As StringCollection, _
    so As ScriptingOptions _
)
'Usage
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
)

Parameters