private static CreateDefaultCamlQueryOptions ( ) : |
||
return |
private static CamlQueryOptions CreateDefaultCamlQueryOptions()
{
CamlQueryOptions options = new CamlQueryOptions();
options.QueryOptions = new CamlQueryOptionsQueryOptions();
options.QueryOptions.RecurrenceOrderBy = "True";
options.QueryOptions.ViewAttributes = new CamlQueryOptionsQueryOptionsViewAttributes();
options.QueryOptions.ViewAttributes.ScopeSpecified = true;
options.QueryOptions.ViewAttributes.Scope = EnumViewAttributes.RecursiveAll;
options.QueryOptions.DateInUtc = "True";
options.QueryOptions.IncludePermissions = "True";
options.QueryOptions.IncludeAttachmentUrls = "True";
options.QueryOptions.IncludeAttachmentVersion = "True";
options.QueryOptions.RecurrencePatternXMLVersionSpecified = true;
options.QueryOptions.RecurrencePatternXMLVersion = EnumRecurrencePatternXMLVersion.v3;
options.QueryOptions.ExpandUserField = "True";
options.QueryOptions.MeetingInstanceID = "-1";
return options;
}