Freigeben über


DatabaseName-Eigenschaft

Gets the name of the database associated with the DatabaseAuditSpecification object.

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 DatabaseAuditSpecificationExtender
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

Eigenschaftswert

Typ: System. . :: . .String
A String object that specifies the name of the database associated with the DatabaseAuditSpecification object.