query语句查询,and和or组合

 

 SPQuery query = new SPQuery();
                query.Query = @"
                                     
                                        
                                           
                                              
                                               ture
                                           

                                           
                                              
                                               " + ResName + @"
                                           

                                        

                                        
                                          
                                           
                                            在用Active
                                          

                                          
                                           
                                            限用Limited
                                        

                                        

                                     

                                  
";

                query.ViewAttributes = "Scope=\"RecursiveAll\"";  //可查询子文件夹里边的内容

你可能感兴趣的:(sharepoint,学习札记,query,user)