コード例 #1
0
ファイル: DlpUtils.cs プロジェクト: YHZX2013/exchange_diff
 internal static TransportRule GetTransportRuleByGuid(IConfigDataProvider dataSession, string collectionName, Guid objectGuid)
 {
     return(DlpUtils.GetTransportRuleUnParsed(dataSession, collectionName, new ComparisonFilter(ComparisonOperator.Equal, ADObjectSchema.Guid, objectGuid)));
 }
コード例 #2
0
ファイル: DlpUtils.cs プロジェクト: YHZX2013/exchange_diff
 internal static TransportRule GetTransportRuleByName(IConfigDataProvider dataSession, string collectionName, string ruleName)
 {
     return(DlpUtils.GetTransportRuleUnParsed(dataSession, collectionName, new TextFilter(ADObjectSchema.Name, ruleName, MatchOptions.FullString, MatchFlags.Default)));
 }