Partager via


Propriété DatabaseName

Gets the specified name of the database.

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

Syntaxe

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

Valeur de propriété

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