From c732e37828004ad02b0f1640cf86857f90c8da5a Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Mon, 29 Jul 2013 13:54:42 +1000 Subject: [PATCH] Add enum TopLevelNameStatus --- .../TopLevelNameStatus.cs | 34 +++++++++++++++++++ .../System.DirectoryServices.dll.sources | 1 + 2 files changed, 35 insertions(+) create mode 100644 mcs/class/System.DirectoryServices/System.DirectoryServices.ActiveDirectory/TopLevelNameStatus.cs diff --git a/mcs/class/System.DirectoryServices/System.DirectoryServices.ActiveDirectory/TopLevelNameStatus.cs b/mcs/class/System.DirectoryServices/System.DirectoryServices.ActiveDirectory/TopLevelNameStatus.cs new file mode 100644 index 000000000000..36cf61d265e9 --- /dev/null +++ b/mcs/class/System.DirectoryServices/System.DirectoryServices.ActiveDirectory/TopLevelNameStatus.cs @@ -0,0 +1,34 @@ +/****************************************************************************** +* The MIT License +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the Software), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. +*******************************************************************************/ + +using System; + +namespace System.DirectoryServices.ActiveDirectory +{ + public enum TopLevelNameStatus + { + Enabled, + NewlyCreated, + AdminDisabled, + ConflictDisabled = 4 + } +} diff --git a/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources b/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources index f39847418a12..c6ebe69885fd 100644 --- a/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources +++ b/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources @@ -47,5 +47,6 @@ System.DirectoryServices.ActiveDirectory/SchemaClassType.cs System.DirectoryServices.ActiveDirectory/SyncFromAllServersErrorCategory.cs System.DirectoryServices.ActiveDirectory/SyncFromAllServersEvent.cs System.DirectoryServices.ActiveDirectory/SyncFromAllServersOptions.cs +System.DirectoryServices.ActiveDirectory/TopLevelNameStatus.cs System.DirectoryServices.ActiveDirectory/TrustDirection.cs System.DirectoryServices.ActiveDirectory/TrustType.cs