Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
/******************************************************************************
* 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;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[Serializable]
public class ActiveDirectoryOperationException : Exception, ISerializable
{
public int ErrorCode {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectoryOperationException (string message, Exception inner, int errorCode) : base(message, inner)
{
throw new NotImplementedException ();
}
public ActiveDirectoryOperationException (string message, int errorCode) : base(message)
{
throw new NotImplementedException ();
}
public ActiveDirectoryOperationException (string message, Exception inner) : base(message, inner)
{
throw new NotImplementedException ();
}
public ActiveDirectoryOperationException (string message) : base(message)
{
throw new NotImplementedException ();
}
public ActiveDirectoryOperationException () : base("DSUnknownFailure")
{
throw new NotImplementedException ();
}
protected ActiveDirectoryOperationException (SerializationInfo info, StreamingContext context) : base(info, context)
{
throw new NotImplementedException ();
}
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,56 @@
/******************************************************************************
* 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;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
public abstract class ActiveDirectoryPartition : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
protected ActiveDirectoryPartition ()
{
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
public override string ToString ()
{
throw new NotImplementedException ();
}
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public abstract DirectoryEntry GetDirectoryEntry ();
}
}

View File

@@ -0,0 +1,58 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectoryReplicationMetadata : DictionaryBase
{
public AttributeMetadata this [string name] {
get {
throw new NotImplementedException ();
}
}
public ReadOnlyStringCollection AttributeNames {
get {
throw new NotImplementedException ();
}
}
public AttributeMetadataCollection Values {
get {
throw new NotImplementedException ();
}
}
public bool Contains (string attributeName)
{
throw new NotImplementedException ();
}
public void CopyTo (AttributeMetadata[] array, int index)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -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 ActiveDirectoryRole
{
SchemaRole,
NamingRole,
PdcRole,
RidRole,
InfrastructureRole
}
}

View File

@@ -0,0 +1,50 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectoryRoleCollection : ReadOnlyCollectionBase
{
public ActiveDirectoryRole this [int index] {
get {
throw new NotImplementedException ();
}
}
public bool Contains (ActiveDirectoryRole role)
{
throw new NotImplementedException ();
}
public int IndexOf (ActiveDirectoryRole role)
{
throw new NotImplementedException ();
}
public void CopyTo (ActiveDirectoryRole[] roles, int index)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,69 @@
/******************************************************************************
* 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 class ActiveDirectorySchedule
{
public bool[,,] RawSchedule {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchedule ()
{
throw new NotImplementedException ();
}
public ActiveDirectorySchedule (ActiveDirectorySchedule schedule) : this()
{
throw new NotImplementedException ();
}
public void SetSchedule (DayOfWeek day, HourOfDay fromHour, MinuteOfHour fromMinute, HourOfDay toHour, MinuteOfHour toMinute)
{
throw new NotImplementedException ();
}
public void SetSchedule (DayOfWeek[] days, HourOfDay fromHour, MinuteOfHour fromMinute, HourOfDay toHour, MinuteOfHour toMinute)
{
throw new NotImplementedException ();
}
public void SetDailySchedule (HourOfDay fromHour, MinuteOfHour fromMinute, HourOfDay toHour, MinuteOfHour toMinute)
{
throw new NotImplementedException ();
}
public void ResetSchedule ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,112 @@
/******************************************************************************
* 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;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySchema : ActiveDirectoryPartition
{
public DirectoryServer SchemaRoleOwner {
get {
throw new NotImplementedException ();
}
}
protected override void Dispose (bool disposing)
{
}
public static ActiveDirectorySchema GetSchema (DirectoryContext context)
{
throw new NotImplementedException ();
}
public void RefreshSchema ()
{
throw new NotImplementedException ();
}
public ActiveDirectorySchemaClass FindClass (string ldapDisplayName)
{
throw new NotImplementedException ();
}
public ActiveDirectorySchemaClass FindDefunctClass (string commonName)
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses ()
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses (SchemaClassType type)
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaClassCollection FindAllDefunctClasses ()
{
throw new NotImplementedException ();
}
public ActiveDirectorySchemaProperty FindProperty (string ldapDisplayName)
{
throw new NotImplementedException ();
}
public ActiveDirectorySchemaProperty FindDefunctProperty (string commonName)
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties ()
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllProperties (PropertyTypes type)
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaPropertyCollection FindAllDefunctProperties ()
{
throw new NotImplementedException ();
}
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
public override DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
public static ActiveDirectorySchema GetCurrentSchema ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,179 @@
/******************************************************************************
* 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;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySchemaClass : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public string CommonName {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Oid {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Description {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsDefunct {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaClassCollection PossibleSuperiors {
get {
throw new NotImplementedException ();
}
}
public ReadOnlyActiveDirectorySchemaClassCollection PossibleInferiors {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaPropertyCollection MandatoryProperties {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaPropertyCollection OptionalProperties {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaClassCollection AuxiliaryClasses {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaClass SubClassOf {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public SchemaClassType Type {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public Guid SchemaGuid {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySecurity DefaultObjectSecurityDescriptor {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaClass (DirectoryContext context, string ldapDisplayName)
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
public static ActiveDirectorySchemaClass FindByName (DirectoryContext context, string ldapDisplayName)
{
throw new NotImplementedException ();
}
public ReadOnlyActiveDirectorySchemaPropertyCollection GetAllProperties ()
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,108 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectorySchemaClassCollection : CollectionBase
{
public ActiveDirectorySchemaClass this [int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int Add (ActiveDirectorySchemaClass schemaClass)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySchemaClass[] schemaClasses)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySchemaClassCollection schemaClasses)
{
throw new NotImplementedException ();
}
public void AddRange (ReadOnlyActiveDirectorySchemaClassCollection schemaClasses)
{
throw new NotImplementedException ();
}
public void Remove (ActiveDirectorySchemaClass schemaClass)
{
throw new NotImplementedException ();
}
public void Insert (int index, ActiveDirectorySchemaClass schemaClass)
{
throw new NotImplementedException ();
}
public bool Contains (ActiveDirectorySchemaClass schemaClass)
{
throw new NotImplementedException ();
}
public void CopyTo (ActiveDirectorySchemaClass[] schemaClasses, int index)
{
throw new NotImplementedException ();
}
public int IndexOf (ActiveDirectorySchemaClass schemaClass)
{
throw new NotImplementedException ();
}
protected override void OnClearComplete ()
{
throw new NotImplementedException ();
}
protected override void OnInsertComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnRemoveComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnSetComplete (int index, object oldValue, object newValue)
{
throw new NotImplementedException ();
}
protected override void OnValidate (object value)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,220 @@
/******************************************************************************
* 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;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySchemaProperty : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public string CommonName {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Oid {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySyntax Syntax {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Description {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsSingleValued {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsIndexed {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsIndexedOverContainer {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsInAnr {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsOnTombstonedObject {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsTupleIndexed {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsInGlobalCatalog {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int RangeLower {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int RangeUpper {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool IsDefunct {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaProperty Link {
get {
throw new NotImplementedException ();
}
}
public int? LinkId {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public Guid SchemaGuid {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchemaProperty (DirectoryContext context, string ldapDisplayName)
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
public static ActiveDirectorySchemaProperty FindByName (DirectoryContext context, string ldapDisplayName)
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,108 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectorySchemaPropertyCollection : CollectionBase
{
public ActiveDirectorySchemaProperty this [int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int Add (ActiveDirectorySchemaProperty schemaProperty)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySchemaProperty[] properties)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySchemaPropertyCollection properties)
{
throw new NotImplementedException ();
}
public void AddRange (ReadOnlyActiveDirectorySchemaPropertyCollection properties)
{
throw new NotImplementedException ();
}
public void Remove (ActiveDirectorySchemaProperty schemaProperty)
{
throw new NotImplementedException ();
}
public void Insert (int index, ActiveDirectorySchemaProperty schemaProperty)
{
throw new NotImplementedException ();
}
public bool Contains (ActiveDirectorySchemaProperty schemaProperty)
{
throw new NotImplementedException ();
}
public void CopyTo (ActiveDirectorySchemaProperty[] properties, int index)
{
throw new NotImplementedException ();
}
public int IndexOf (ActiveDirectorySchemaProperty schemaProperty)
{
throw new NotImplementedException ();
}
protected override void OnClearComplete ()
{
throw new NotImplementedException ();
}
protected override void OnInsertComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnRemoveComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnSetComplete (int index, object oldValue, object newValue)
{
throw new NotImplementedException ();
}
protected override void OnValidate (object value)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,147 @@
/******************************************************************************
* 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;
using System.Security.AccessControl;
using System.Security.Principal;
namespace System.DirectoryServices
{
public class ActiveDirectorySecurity : DirectoryObjectSecurity
{
public override Type AccessRightType {
get {
throw new NotImplementedException ();
}
}
public override Type AccessRuleType {
get {
throw new NotImplementedException ();
}
}
public override Type AuditRuleType {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySecurity ()
{
}
public void AddAccessRule (ActiveDirectoryAccessRule rule)
{
throw new NotImplementedException ();
}
public void SetAccessRule (ActiveDirectoryAccessRule rule)
{
throw new NotImplementedException ();
}
public void ResetAccessRule (ActiveDirectoryAccessRule rule)
{
throw new NotImplementedException ();
}
public void RemoveAccess (IdentityReference identity, AccessControlType type)
{
throw new NotImplementedException ();
}
public bool RemoveAccessRule (ActiveDirectoryAccessRule rule)
{
throw new NotImplementedException ();
}
public void RemoveAccessRuleSpecific (ActiveDirectoryAccessRule rule)
{
throw new NotImplementedException ();
}
public override bool ModifyAccessRule (AccessControlModification modification, AccessRule rule, out bool modified)
{
throw new NotImplementedException ();
}
public override void PurgeAccessRules (IdentityReference identity)
{
throw new NotImplementedException ();
}
public void AddAuditRule (ActiveDirectoryAuditRule rule)
{
throw new NotImplementedException ();
}
public void SetAuditRule (ActiveDirectoryAuditRule rule)
{
throw new NotImplementedException ();
}
public void RemoveAudit (IdentityReference identity)
{
throw new NotImplementedException ();
}
public bool RemoveAuditRule (ActiveDirectoryAuditRule rule)
{
throw new NotImplementedException ();
}
public void RemoveAuditRuleSpecific (ActiveDirectoryAuditRule rule)
{
throw new NotImplementedException ();
}
public override bool ModifyAuditRule (AccessControlModification modification, AuditRule rule, out bool modified)
{
throw new NotImplementedException ();
}
public override void PurgeAuditRules (IdentityReference identity)
{
throw new NotImplementedException ();
}
public sealed override AccessRule AccessRuleFactory (IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
{
throw new NotImplementedException ();
}
public sealed override AccessRule AccessRuleFactory (IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type, Guid objectGuid, Guid inheritedObjectGuid)
{
throw new NotImplementedException ();
}
public sealed override AuditRule AuditRuleFactory (IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
{
throw new NotImplementedException ();
}
public sealed override AuditRule AuditRuleFactory (IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags, Guid objectGuid, Guid inheritedObjectGuid)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,80 @@
/******************************************************************************
* 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;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[Serializable]
public class ActiveDirectoryServerDownException : Exception, ISerializable
{
public int ErrorCode {
get {
throw new NotImplementedException ();
}
}
public string Name {
get {
throw new NotImplementedException ();
}
}
public override string Message {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectoryServerDownException (string message, Exception inner, int errorCode, string name) : base(message, inner)
{
}
public ActiveDirectoryServerDownException (string message, int errorCode, string name) : base(message)
{
}
public ActiveDirectoryServerDownException (string message, Exception inner) : base(message, inner)
{
}
public ActiveDirectoryServerDownException (string message) : base(message)
{
}
public ActiveDirectoryServerDownException ()
{
}
protected ActiveDirectoryServerDownException (SerializationInfo info, StreamingContext context) : base(info, context)
{
}
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,166 @@
/******************************************************************************
* 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;
using System.Collections;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySite : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public DomainCollection Domains {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySubnetCollection Subnets {
get {
throw new NotImplementedException ();
}
}
public ReadOnlyDirectoryServerCollection Servers {
get {
throw new NotImplementedException ();
}
}
public ReadOnlySiteCollection AdjacentSites {
get {
throw new NotImplementedException ();
}
}
public ReadOnlySiteLinkCollection SiteLinks {
get {
throw new NotImplementedException ();
}
}
public DirectoryServer InterSiteTopologyGenerator {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySiteOptions Options {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Location {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ReadOnlyDirectoryServerCollection BridgeheadServers {
get {
throw new NotImplementedException ();
}
}
public DirectoryServerCollection PreferredSmtpBridgeheadServers {
get {
throw new NotImplementedException ();
}
}
public DirectoryServerCollection PreferredRpcBridgeheadServers {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchedule IntraSiteReplicationSchedule {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public static ActiveDirectorySite FindByName (DirectoryContext context, string siteName)
{
throw new NotImplementedException ();
}
public ActiveDirectorySite (DirectoryContext context, string siteName)
{
throw new NotImplementedException ();
}
public static ActiveDirectorySite GetComputerSite ()
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public void Delete ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
}
}

View File

@@ -0,0 +1,103 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectorySiteCollection : CollectionBase
{
public ActiveDirectorySite this [int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int Add (ActiveDirectorySite site)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySite[] sites)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySiteCollection sites)
{
throw new NotImplementedException ();
}
public bool Contains (ActiveDirectorySite site)
{
throw new NotImplementedException ();
}
public void CopyTo (ActiveDirectorySite[] array, int index)
{
throw new NotImplementedException ();
}
public int IndexOf (ActiveDirectorySite site)
{
throw new NotImplementedException ();
}
public void Insert (int index, ActiveDirectorySite site)
{
throw new NotImplementedException ();
}
public void Remove (ActiveDirectorySite site)
{
throw new NotImplementedException ();
}
protected override void OnClearComplete ()
{
throw new NotImplementedException ();
}
protected override void OnInsertComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnRemoveComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnSetComplete (int index, object oldValue, object newValue)
{
throw new NotImplementedException ();
}
protected override void OnValidate (object value)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,153 @@
/******************************************************************************
* 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;
using System.Collections;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySiteLink : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectoryTransportType TransportType {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySiteCollection Sites {
get {
throw new NotImplementedException ();
}
}
public int Cost {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public TimeSpan ReplicationInterval {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool ReciprocalReplicationEnabled {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool NotificationEnabled {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public bool DataCompressionEnabled {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySchedule InterSiteReplicationSchedule {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public ActiveDirectorySiteLink (DirectoryContext context, string siteLinkName) : this(context, siteLinkName, ActiveDirectoryTransportType.Rpc, null)
{
}
public ActiveDirectorySiteLink (DirectoryContext context, string siteLinkName, ActiveDirectoryTransportType transport) : this(context, siteLinkName, transport, null)
{
}
public ActiveDirectorySiteLink (DirectoryContext context, string siteLinkName, ActiveDirectoryTransportType transport, ActiveDirectorySchedule schedule)
{
}
public static ActiveDirectorySiteLink FindByName (DirectoryContext context, string siteLinkName)
{
throw new NotImplementedException ();
}
public static ActiveDirectorySiteLink FindByName (DirectoryContext context, string siteLinkName, ActiveDirectoryTransportType transport)
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public void Delete ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
}
}

View File

@@ -0,0 +1,97 @@
/******************************************************************************
* 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;
using System.Collections;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySiteLinkBridge : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySiteLinkCollection SiteLinks {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectoryTransportType TransportType {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySiteLinkBridge (DirectoryContext context, string bridgeName) : this(context, bridgeName, ActiveDirectoryTransportType.Rpc)
{
}
public ActiveDirectorySiteLinkBridge (DirectoryContext context, string bridgeName, ActiveDirectoryTransportType transport)
{
}
public static ActiveDirectorySiteLinkBridge FindByName (DirectoryContext context, string bridgeName)
{
throw new NotImplementedException ();
}
public static ActiveDirectorySiteLinkBridge FindByName (DirectoryContext context, string bridgeName, ActiveDirectoryTransportType transport)
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public void Delete ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,103 @@
/******************************************************************************
* 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;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
{
public class ActiveDirectorySiteLinkCollection : CollectionBase
{
public ActiveDirectorySiteLink this [int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public int Add (ActiveDirectorySiteLink link)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySiteLink[] links)
{
throw new NotImplementedException ();
}
public void AddRange (ActiveDirectorySiteLinkCollection links)
{
throw new NotImplementedException ();
}
public bool Contains (ActiveDirectorySiteLink link)
{
throw new NotImplementedException ();
}
public void CopyTo (ActiveDirectorySiteLink[] array, int index)
{
throw new NotImplementedException ();
}
public int IndexOf (ActiveDirectorySiteLink link)
{
throw new NotImplementedException ();
}
public void Insert (int index, ActiveDirectorySiteLink link)
{
throw new NotImplementedException ();
}
public void Remove (ActiveDirectorySiteLink link)
{
throw new NotImplementedException ();
}
protected override void OnClearComplete ()
{
throw new NotImplementedException ();
}
protected override void OnInsertComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnRemoveComplete (int index, object value)
{
throw new NotImplementedException ();
}
protected override void OnSetComplete (int index, object oldValue, object newValue)
{
throw new NotImplementedException ();
}
protected override void OnValidate (object value)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,43 @@
/******************************************************************************
* 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
{
[Flags]
public enum ActiveDirectorySiteOptions
{
None = 0,
AutoTopologyDisabled = 1,
TopologyCleanupDisabled = 2,
AutoMinimumHopDisabled = 4,
StaleServerDetectDisabled = 8,
AutoInterSiteTopologyDisabled = 16,
GroupMembershipCachingEnabled = 32,
ForceKccWindows2003Behavior = 64,
UseWindows2000IstgElection = 128,
RandomBridgeHeaderServerSelectionDisabled = 256,
UseHashingForReplicationSchedule = 512,
RedundantServerTopologyEnabled = 1024
}
}

View File

@@ -0,0 +1,98 @@
/******************************************************************************
* 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;
using System.Security.Permissions;
namespace System.DirectoryServices.ActiveDirectory
{
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class ActiveDirectorySubnet : IDisposable
{
public string Name {
get {
throw new NotImplementedException ();
}
}
public ActiveDirectorySite Site {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public string Location {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public static ActiveDirectorySubnet FindByName (DirectoryContext context, string subnetName)
{
throw new NotImplementedException ();
}
public ActiveDirectorySubnet (DirectoryContext context, string subnetName)
{
throw new NotImplementedException ();
}
public ActiveDirectorySubnet (DirectoryContext context, string subnetName, string siteName) : this(context, subnetName)
{
throw new NotImplementedException ();
}
public void Save ()
{
throw new NotImplementedException ();
}
public void Delete ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
public DirectoryEntry GetDirectoryEntry ()
{
throw new NotImplementedException ();
}
public void Dispose ()
{
}
protected virtual void Dispose (bool disposing)
{
}
}
}

Some files were not shown because too many files have changed in this diff Show More