Share via


ServerAuditSpecificationExtender.DatabaseName Property

Gets the specified name of the database.

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

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property DatabaseName As String
    Get
'Usage
Dim instance As ServerAuditSpecificationExtender
Dim value As String

value = instance.DatabaseName
[ExtendedPropertyAttribute]
public string DatabaseName { get; }
[ExtendedPropertyAttribute]
public:
property String^ DatabaseName {
    String^ get ();
}
[<ExtendedPropertyAttribute>]
member DatabaseName : string
function get DatabaseName () : String

Property Value

Type: System.String
A string value for the database name.