public HostResignatureRescanResult ResignatureUnresolvedVmfsVolume(HostUnresolvedVmfsResignatureSpec resolutionSpec)
        {
            HostResignatureRescanResult result;

            try
            {
                VersionUtils.RequiresVersion(this.Client, VimVersion.Vim4);
                ManagedObjectReference taskReference = this.ResignatureUnresolvedVmfsVolume_Task(resolutionSpec);
                result = (HostResignatureRescanResult)this.Client.WaitForTask(taskReference);
            }
            catch (FaultException ex)
            {
                throw FaultUtility.HandleFault(ex);
            }
            return(result);
        }
        public ManagedObjectReference ResignatureUnresolvedVmfsVolume_Task(HostUnresolvedVmfsResignatureSpec resolutionSpec)
        {
            ManagedObjectReference result;

            try
            {
                VersionUtils.RequiresVersion(this.Client, VimVersion.Vim4);
                ResignatureUnresolvedVmfsVolumeRequestType resignatureUnresolvedVmfsVolumeRequestType = new ResignatureUnresolvedVmfsVolumeRequestType();
                resignatureUnresolvedVmfsVolumeRequestType._this          = (VimApi_65.ManagedObjectReference)VIConvert.ToWsdlType(this.MoRef);
                resignatureUnresolvedVmfsVolumeRequestType.resolutionSpec = (VimApi_65.HostUnresolvedVmfsResignatureSpec)VIConvert.ToWsdlType(resolutionSpec);
                result = (ManagedObjectReference)VIConvert.ToVim(this.VimServiceProxy.ResignatureUnresolvedVmfsVolume_Task(new ResignatureUnresolvedVmfsVolume_TaskRequest(resignatureUnresolvedVmfsVolumeRequestType)).ResignatureUnresolvedVmfsVolume_TaskResponse.returnval);
            }
            catch (FaultException ex)
            {
                throw FaultUtility.HandleFault(ex);
            }
            return(result);
        }