FDO .NET API Reference | Feature Data Objects |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 * 00017 */ 00018 00019 #pragma once 00020 00021 #include "FDO\Commands\mgICommand.h" 00022 00023 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING 00024 public __gc __interface ILockedObjectReader; 00025 00026 /// \ingroup (OSGeoFDOCommandsLocking) 00027 /// \interface OSGeo::FDO::Commands::Locking::IGetLockedObjects 00028 /// \brief 00029 /// The IGetLockedObjects interface defines the GetLockedObjects command, which 00030 /// gets a list of all objects that are currently locked by a particular user. 00031 public __gc __interface IGetLockedObjects : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommand 00032 { 00033 public: 00034 /// \brief 00035 /// Gets the name of the user whose locked objects you want to list. 00036 /// 00037 /// \return 00038 /// Returns the name of the user 00039 /// 00040 __property System::String* get_LockOwner(); 00041 00042 /// \brief 00043 /// Sets the name of the user whose locked objects you want to list. 00044 /// 00045 /// \param value 00046 /// Input the name of the user 00047 /// 00048 /// \return 00049 /// Returns nothing 00050 /// 00051 __property System::Void set_LockOwner(System::String* value); 00052 00053 /// \brief 00054 /// Executes the GetLockedObjects command, returning an ILockedObjectReader. 00055 /// 00056 /// \return 00057 /// Returns a list of all of the objects currently locked by a particular user. 00058 /// The list might be empty if the user does not have anything locked. 00059 /// 00060 NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::ILockedObjectReader* Execute(); 00061 }; 00062 00063 END_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING 00064 00065
Comments or suggestions? Send us feedback. |