PolicyCategorySubscription 构造函数 (PolicyStore, SqlSmoObject)
Initializes a new instance of the PolicyCategorySubscription class that has the specified parent policy store, and is based on the specified object.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public Sub New ( _
parent As PolicyStore, _
obj As SqlSmoObject _
)
用法
Dim parent As PolicyStore
Dim obj As SqlSmoObject
Dim instance As New PolicyCategorySubscription(parent, _
obj)
public PolicyCategorySubscription(
PolicyStore parent,
SqlSmoObject obj
)
public:
PolicyCategorySubscription(
PolicyStore^ parent,
SqlSmoObject^ obj
)
new :
parent:PolicyStore *
obj:SqlSmoObject -> PolicyCategorySubscription
public function PolicyCategorySubscription(
parent : PolicyStore,
obj : SqlSmoObject
)
参数
- parent
类型:Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the policy store to which the policy belongs.
- obj
类型:Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject value that specifies the object on which the category is based.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。