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.