StringBuilder xmlString = new StringBuilder(
"<QueryPacket xmlns='urn:Microsoft.Search.Query'>"
+ "<Query><SupportedFormats><Format revision='1'> urn:Microsoft.Search.Response.Document:Document"
+ "</Format></SupportedFormats><Context>"
+ " <QueryText language='en-US' type='FQL'>");
// this adds the search free form text
xmlString.Append("Earth");
query.Append(
"</QueryText></Context>"
+ "<Properties>"
+ "<Property name='Name'/>"
+ "<Property name='Department' />"
+ "<Property name='Property1' />"
+ "<Property name='Property2' />"
+ "<Property name='Property3' />"
+ "<Property name='Property4' />"
+ "<Property name='Property5' />"
+ "</Properties>"
+ "<Where>"
+ "<IsNotNull><FieldRef Name='Name'></FieldRef></IsNotNull>"
+ "<And><IsNotNull><FieldRef Name='Property1'></FieldRef></IsNotNull></And>"
+ "</Where>"
+ "</Query></QueryPacket>"
);
QueryServiceSoapClient.QueryEx(query)
Name 列と Property1 列に null/空の値を持つデータを取得しています。なぜどこが機能していないのですか?