Método SubscribeToPolicyCategory
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Function SubscribeToPolicyCategory ( _
target As SfcQueryExpression, _
policyCategory As String _
) As PolicyCategorySubscription
'Uso
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim policyCategory As String
Dim returnValue As PolicyCategorySubscription
returnValue = instance.SubscribeToPolicyCategory(target, _
policyCategory)
public PolicyCategorySubscription SubscribeToPolicyCategory(
SfcQueryExpression target,
string policyCategory
)
public:
PolicyCategorySubscription^ SubscribeToPolicyCategory(
SfcQueryExpression^ target,
String^ policyCategory
)
member SubscribeToPolicyCategory :
target:SfcQueryExpression *
policyCategory:string -> PolicyCategorySubscription
public function SubscribeToPolicyCategory(
target : SfcQueryExpression,
policyCategory : String
) : PolicyCategorySubscription
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategorySubscription
Consulte também