PolicyStore.UnsubscribeFromPolicyCategory Method (SfcQueryExpression, String)

 

Unsubscribes the policy store from the category specified by the policyCategory and target parameters.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

public void UnsubscribeFromPolicyCategory(
	SfcQueryExpression target,
	string policyCategory
)

Parameters

target
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression

A SfcQueryExpression object.

policyCategory
Type: System.String

A string value that specifies the policy category.

Return to top
Show: