Udostępnij przez


AuditSpecification.ScriptCreate Method

Creates a new audit specification script.

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

Syntax

'Deklaracja
Protected Overrides Sub ScriptCreate ( _
    query As StringCollection, _
    so As ScriptingOptions _
)
protected override void ScriptCreate (
    StringCollection query,
    ScriptingOptions so
)
protected:
virtual void ScriptCreate (
    StringCollection^ query, 
    ScriptingOptions^ so
) override
protected void ScriptCreate (
    StringCollection query, 
    ScriptingOptions so
)
protected override function ScriptCreate (
    query : StringCollection, 
    so : ScriptingOptions
)

Parameters

  • query
    A StringCollection object that specifies the audit specification script to be created.
  • so
    A ScriptingOptions object that specifies the scripting options associated with the new script.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.