ListPolicySettings.SetRetentionSchedule ListPolicySettings.SetRetentionSchedule ListPolicySettings.SetRetentionSchedule Method

Definition

Overloads

SetRetentionSchedule(String, String) SetRetentionSchedule(String, String) SetRetentionSchedule(String, String)

Sets the retention schedule for the information policy based on the retention XML file name and description provided.

SetRetentionSchedule(String, String, String) SetRetentionSchedule(String, String, String) SetRetentionSchedule(String, String, String)

Sets the retention schedule for the root folder only of the information policy based on the folder URL, retention XML file name, and description provided.

SetRetentionSchedule(String, String) SetRetentionSchedule(String, String) SetRetentionSchedule(String, String)

Sets the retention schedule for the information policy based on the retention XML file name and description provided.

public:
 void SetRetentionSchedule(System::String ^ retentionXml, System::String ^ description);
public void SetRetentionSchedule (string retentionXml, string description);
Public Sub SetRetentionSchedule (retentionXml As String, description As String)
Parameters
retentionXml
String String String

The custom retention schedule similar to the retention XML from the expiration policy feature; a valid XML fragment.

description
String String String

The description of the custom retention schedule.

SetRetentionSchedule(String, String, String) SetRetentionSchedule(String, String, String) SetRetentionSchedule(String, String, String)

Sets the retention schedule for the root folder only of the information policy based on the folder URL, retention XML file name, and description provided.

public:
 void SetRetentionSchedule(System::String ^ folderUrl, System::String ^ retentionXml, System::String ^ description);
public void SetRetentionSchedule (string folderUrl, string retentionXml, string description);
Public Sub SetRetentionSchedule (folderUrl As String, retentionXml As String, description As String)
Parameters
folderUrl
String String String

The server-relative URL of the folder.

retentionXml
String String String

The custom retention schedule similar to the retention XML from the expiration policy feature; a valid XML fragment.

description
String String String

The description of the custom retention schedule.

Applies to