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 版支援此命名空間、類別或成員。