Свойство AuditName
Gets the name of the server audit specification.
Этот API-интерфейс несовместим с CLS.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']", _
)> _
Public Property AuditName As String
Get
Set
'Применение
Dim instance As ServerAuditSpecification
Dim value As String
value = instance.AuditName
instance.AuditName = value
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']",
)]
public string AuditName { get; set; }
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[SfcReferenceAttribute(typeof(Audit), L"Server[@Name = '{0}']/Audit[@Name = '{1}']",
)]
public:
property String^ AuditName {
String^ get ();
void set (String^ value);
}
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']",
)>]
member AuditName : string with get, set
function get AuditName () : String
function set AuditName (value : String)
Значение свойства
Тип: System. . :: . .String
A String system value that specifies the name of the server audit specification.
См. также