Share via


AlterServerAuditStatement.NewName Property

Gets or sets the new audit name.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property NewName As Identifier
public Identifier NewName { get; set; }
public:
property Identifier^ NewName {
    Identifier^ get ();
    void set (Identifier^ value);
}
member NewName : Identifier with get, set
function get NewName () : Identifier
function set NewName (value : Identifier)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.Identifier

Remarks

If new name is specified, AuditTarget and Options (from the base class) should be empty.

.NET Framework Security

See Also

Reference

AlterServerAuditStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace