Construtor 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.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Sub New ( _
parent As PolicyStore, _
obj As SqlSmoObject _
)
'Uso
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
)
Parâmetros
- parent
Tipo: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the policy store to which the policy belongs.
- obj
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject value that specifies the object on which the category is based.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Consulte também
Referência
PolicyCategorySubscription Classe