Esempio n. 1
0
		internal void ChangeOptionalFeature(string distinguishedName, bool enable, string featureId)
		{
			this.Init();
			ChangeOptionalFeatureRequest changeOptionalFeatureRequest = new ChangeOptionalFeatureRequest();
			changeOptionalFeatureRequest.DistinguishedName = distinguishedName;
			changeOptionalFeatureRequest.Enable = enable;
			changeOptionalFeatureRequest.FeatureId = new Guid(featureId);
			this._topoMgmt.ChangeOptionalFeature(this._sessionHandle, changeOptionalFeatureRequest);
		}
        public void ChangeOptionalFeature(string Server, string DistinguishedName, bool Enable, Guid FeatureId)
        {
            ChangeOptionalFeatureRequest changeOptionalFeatureRequest = new ChangeOptionalFeatureRequest();

            changeOptionalFeatureRequest.Server            = Server;
            changeOptionalFeatureRequest.DistinguishedName = DistinguishedName;
            changeOptionalFeatureRequest.Enable            = Enable;
            changeOptionalFeatureRequest.FeatureId         = FeatureId;
            this.Channel.ChangeOptionalFeature(changeOptionalFeatureRequest);
        }
Esempio n. 3
0
		ChangeOptionalFeatureResponse Microsoft.ActiveDirectory.Management.IADTopologyManagement.ChangeOptionalFeature(ADSessionHandle handle, ChangeOptionalFeatureRequest request)
		{
			ChangeOptionalFeatureResponse changeOptionalFeatureResponse = null;
			AdwsConnection internalHandle = this.GetInternalHandle(handle);
			if (internalHandle != null)
			{
				changeOptionalFeatureResponse = internalHandle.ChangeOptionalFeature(request);
			}
			return changeOptionalFeatureResponse;
		}
 ChangeOptionalFeatureResponse Microsoft.ActiveDirectory.CustomActions.TopologyManagement.ChangeOptionalFeature(ChangeOptionalFeatureRequest request)
 {
     return(base.Channel.ChangeOptionalFeature(request));
 }
 public Microsoft.ActiveDirectory.CustomActions.ChangeOptionalFeatureResponse ChangeOptionalFeature(ADSessionHandle handle, Microsoft.ActiveDirectory.CustomActions.ChangeOptionalFeatureRequest request)
 {
     throw new NotImplementedException();
 }