Flux-Pinning Properties of YBa2Cu3O7