Метод ServerAuditSpecificationCollection.Add
Adds a ServerAuditSpecification object to the ServerAuditSpecificationCollection collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
serverAuditSpecification As ServerAuditSpecification _
)
'Применение
Dim instance As ServerAuditSpecificationCollection
Dim serverAuditSpecification As ServerAuditSpecification
instance.Add(serverAuditSpecification)
public void Add(
ServerAuditSpecification serverAuditSpecification
)
public:
void Add(
ServerAuditSpecification^ serverAuditSpecification
)
member Add :
serverAuditSpecification:ServerAuditSpecification -> unit
public function Add(
serverAuditSpecification : ServerAuditSpecification
)
Параметры
- serverAuditSpecification
Тип: Microsoft.SqlServer.Management.Smo.ServerAuditSpecification
A ServerAuditSpecification object value that specifies the server audit specification to be added to the ServerAuditSpecificationCollection collection.