コード例 #1
0
ファイル: TeamMailbox.cs プロジェクト: YHZX2013/exchange_diff
        internal static Uri WebCollectionUrlGetter(IPropertyBag propertyBag)
        {
            string sharePointSiteInfo = (string)propertyBag[ADUserSchema.SharePointSiteInfo];
            string urlString;
            string text;

            TeamMailbox.ParseSharePointSiteInfo(sharePointSiteInfo, out urlString, out text);
            return(TeamMailbox.GetUrl(urlString));
        }
コード例 #2
0
ファイル: TeamMailbox.cs プロジェクト: YHZX2013/exchange_diff
        internal static object WebIdGetter(IPropertyBag propertyBag)
        {
            string sharePointSiteInfo = (string)propertyBag[ADUserSchema.SharePointSiteInfo];
            string text;
            string guidString;

            TeamMailbox.ParseSharePointSiteInfo(sharePointSiteInfo, out text, out guidString);
            return(TeamMailbox.GetGuid(guidString));
        }
コード例 #3
0
ファイル: TeamMailbox.cs プロジェクト: YHZX2013/exchange_diff
        internal static bool IsPendingDeleteSiteMailbox(ADUser dataObject)
        {
            if (dataObject == null)
            {
                throw new ArgumentNullException("dataObject");
            }
            DateTime?closedTime = TeamMailbox.FromDataObject(dataObject).ClosedTime;

            return(((dataObject.DisplayName != null && dataObject.DisplayName.StartsWith("MDEL:")) || (closedTime != null && closedTime.Value.ToUniversalTime() == TeamMailbox.ClosedTimeOfMarkedForDeletion)) && dataObject.SharePointUrl == null);
        }