Metodo PolicyStore.UnsubscribeFromPolicyCategory

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public Sub UnsubscribeFromPolicyCategory ( _
    target As SfcQueryExpression, _
    policyCategory As String _
)
'Utilizzo
Dim instance As PolicyStore 
Dim target As SfcQueryExpression 
Dim policyCategory As String

instance.UnsubscribeFromPolicyCategory(target, _
    policyCategory)
public void UnsubscribeFromPolicyCategory(
    SfcQueryExpression target,
    string policyCategory
)
public:
void UnsubscribeFromPolicyCategory(
    SfcQueryExpression^ target, 
    String^ policyCategory
)
member UnsubscribeFromPolicyCategory : 
        target:SfcQueryExpression * 
        policyCategory:string -> unit
public function UnsubscribeFromPolicyCategory(
    target : SfcQueryExpression, 
    policyCategory : String
)

Parametri

  • policyCategory
    Tipo: System.String
    A string value that specifies the policy category.

Vedere anche

Riferimento

PolicyStore Classe

Spazio dei nomi Microsoft.SqlServer.Management.Dmf