PolicyCategorySubscription Constructor (PolicyStore, SqlSmoObject)
Initializes a new instance of the PolicyCategorySubscription class that has the specified parent policy store, and is based on the specified object.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Sub New ( _
parent As PolicyStore, _
obj As SqlSmoObject _
)
'Usage
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
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the policy store to which the policy belongs.
- obj
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject value that specifies the object on which the category is based.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
See Also
Reference
PolicyCategorySubscription Class