Freigeben über


SPPolicyStore.GetPolicyRule-Methode

Namespace:  Microsoft.SharePoint.Client.CompliancePolicy
Assemblys:   Microsoft.Office.Client.Policy.Silverlight (in Microsoft.Office.Client.Policy.Silverlight.dll);  Microsoft.Office.Client.Policy.Phone (in Microsoft.Office.Client.Policy.Phone.dll)  Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)

Syntax

'Declaration
Public Function GetPolicyRule ( _
    policyRuleId As Guid, _
    throwIfNull As Boolean _
) As SPPolicyRule
'Usage
Dim instance As SPPolicyStore
Dim policyRuleId As Guid
Dim throwIfNull As Boolean
Dim returnValue As SPPolicyRule

returnValue = instance.GetPolicyRule(policyRuleId, _
    throwIfNull)
public SPPolicyRule GetPolicyRule(
    Guid policyRuleId,
    bool throwIfNull
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyRule

Siehe auch

Referenz

SPPolicyStore Klasse

SPPolicyStore-Member

Microsoft.SharePoint.Client.CompliancePolicy-Namespace