Partager via


DatabaseName propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property DatabaseName As String
    Get
'Utilisation
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

Valeur de la propriété

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