Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the unique parent folder with a policy above the specified folder.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function GetUniquePolicyParentUrl ( _
leafUrl As String, _
<OutAttribute> ByRef retentionPolicy As String _
) As String
'Usage
Dim instance As ListPolicySettings
Dim leafUrl As String
Dim retentionPolicy As String
Dim returnValue As String
returnValue = instance.GetUniquePolicyParentUrl(leafUrl, _
retentionPolicy)
public string GetUniquePolicyParentUrl(
string leafUrl,
out string retentionPolicy
)
Parameters
leafUrl
Type: System.StringThe server-relative URL of the folder to look up from.
retentionPolicy
Type: System.StringThe XML for the policy associated with the parent folder/root folder.
Return Value
Type: System.String
Returns the URL of the parent folder with a unique retention schedule, if one exists; otherwise, returns an empty String.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace