Sry, i didn't mention i was using the .NET API.
I am using the toolbox tool FeaturetoFileGeodatabase via .NET.
But it copies all layers from the mxd, but unfortunately with all
datasets, even those which are not used, because my sql query for
this layer takes them out.
My question is now, if there is a possibility to select those datasets which
are ment to be copied, or do i have to copy all, and take out those, which
i don't want in the finished filegeodatabase ?!? 🙂
thanks for your patience !