共用方式為


DatabaseName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property DatabaseName As String
    Get
'用途
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

屬性值

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