ManagementStatus 枚举

定义

描述当前定义的所有 WMI 错误代码的枚举。Describes the enumeration of all WMI error codes that are currently defined.

public enum class ManagementStatus
public enum ManagementStatus
type ManagementStatus = 
Public Enum ManagementStatus
继承
ManagementStatus

字段

AccessDenied -2147217405

当前用户没有执行该操作的权限。The current user does not have permission to perform the action.

AggregatingByObject -2147217315

GROUP BY 子句引用了一个属性,该属性是未使用点表示法的嵌入对象。A GROUP BY clause references a property that is an embedded object without using dot notation.

AlreadyExists -2147217383

在 Put 操作中指定了 wbemChangeFlagCreateOnly 标志,但该实例已经存在。In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists.

AmendedObject -2147217306

在 Put 操作中使用已修正对象,但并未指定 WBEM_FLAG_USE_AMENDED_QUALIFIERS 标志。An amended object was used in a put operation without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified.

BackupRestoreWinmgmtRunning -2147217312

当 WinMgmt.exe 正使用储存库时请求备份或还原储存库。An request was made to back up or restore the repository while WinMgmt.exe was using it.

BufferTooSmall -2147217348

所提供的缓冲区太小,以致不能容纳枚举数中的所有对象或读取字符串属性。The supplied buffer was too small to hold all the objects in the enumerator or to read a string property.

CallCanceled -2147217358

异步进程已内部取消或由用户取消。An asynchronous process has been canceled internally or by the user. 注意,由于异步操作的时间和特性,该操作可能并未真正被取消。Note that because of the timing and nature of the asynchronous operation, the operation may not have been truly canceled.

CannotBeAbstract -2147217307

在类的超类并非抽象类时使该类成为抽象类。The class was made abstract when its superclass is not abstract.

CannotBeKey -2147217377

此处存在非法尝试,即对不能为键的属性指定键限定符。There was an illegal attempt to specify a key qualifier on a property that cannot be a key. 键可以在对象的类定义中指定,但不能在每个实例基础上更改。The keys are specified in the class definition for an object and cannot be altered on a per-instance basis.

CannotBeSingleton -2147217364

进行使类成为 singleton 类(如当类是从非 singleton 类派生时)的非法尝试。An illegal attempt was made to make a class singleton, such as when the class is derived from a non-singleton class.

CannotChangeIndexInheritance -2147217328

尝试在实例或派生类已经开始使用索引后更改该索引。An attempt was made to change an index when instances or derived classes are already using the index.

CannotChangeKeyInheritance -2147217335

尝试在实例或派生类已经开始使用键后更改键。An attempt was made to change a key when instances or derived classes are already using the key.

CircularReference -2147217337

尝试创建循环引用(例如,从一个类自身派生该类)。An attempt has been made to create a reference that is circular (for example, deriving a class from itself).

ClassHasChildren -2147217371

尝试进行使派生类无效的更改。An attempt was made to make a change that would invalidate a derived class.

ClassHasInstances -2147217370

尝试删除或修改有实例的类。An attempt has been made to delete or modify a class that has instances.

ClientTooSlow -2147217305

客户端不能足够快地从枚举检索对象。The client was not retrieving objects quickly enough from an enumeration.

CriticalError -2147217398

发生了严重的意外内部错误。An internal, critical, and unexpected error occurred. 请向 Microsoft 技术支持部门报告此错误。Report this error to Microsoft Technical Support.

Different 262147

所比较项(如对象和类)不相同。The compared items (such as objects and classes) are not identical.

DuplicateObjects 262152

在一个枚举的结果集内检测到同一对象的多个副本。More than one copy of the same object was detected in the result set of an enumeration.

Failed -2147217407

调用失败。The call failed.

False 1

在下列情况下返回此值:当没有更多对象可用时,当返回的对象数目小于所请求的数目时,或位于枚举的结尾时。This value is returned when no more objects are available, the number of objects returned is less than the number requested, or at the end of an enumeration. 当将 0 作为参数的值来调用该方法时也会返回此值。It is also returned when the method is called with a value of 0 for the parameter.

IllegalNull -2147217368

将 null 值指定给了不能为 null 的属性(例如,由 Key、Indexed 或 Not_Null 限定符标记的属性)。A value of null was specified for a property that may not be null, such as one that is marked by a Key, Indexed, or Not_Null qualifier.

IllegalOperation -2147217378

用户请求了非法操作,如从实例生成类。The user requested an illegal operation, such as spawning a class from an instance.

IncompleteClass -2147217376

当前对象不是有效的类定义。The current object is not a valid class definition. 该对象要么不完整,要么没有使用 Put()() 注册到 WMI。Either it is incomplete, or it has not been registered with WMI using Put()().

InitializationFailure -2147217388

组件(如提供程序)由于内部原因未能初始化。A component, such as a provider, failed to initialize for internal reasons.

InvalidCimType -2147217363

所指定的 CIM 类型无效。The CIM type specified is not valid.

InvalidClass -2147217392

所指定的类无效。The specified class is not valid.

InvalidContext -2147217401

上下文对象无效。The context object is not valid.

InvalidDuplicateParameter -2147217341

在 CIM 方法中声明了重复参数。A duplicate parameter has been declared in a CIM method.

InvalidFlavor -2147217338

指定的风格无效。The specified flavor was invalid.

InvalidMethod -2147217362

所请求的方法不可用。The requested method is not available.

InvalidMethodParameters -2147217361

为该方法提供的参数无效。The parameters provided for the method are not valid.

InvalidNamespace -2147217394

未能找到所指定的命名空间。The specified namespace could not be found.

InvalidObject -2147217393

指定的实例无效。The specified instance is not valid.

InvalidObjectPath -2147217350

指定的对象路径无效。The specified object path was invalid.

InvalidOperation -2147217386

所请求的操作无效。The requested operation is not valid. 此错误通常适用于删除类或属性的无效尝试。This error usually applies to invalid attempts to delete classes or properties.

InvalidOperator -2147217309

运算符对此属性类型无效。The operator is not valid for this property type.

InvalidParameter -2147217400

调用的参数之一不正确。One of the parameters to the call is not correct.

InvalidParameterID -2147217353

方法参数具有无效的 ID 限定符。A method parameter has an invalid ID qualifier.

InvalidProperty -2147217359

无法识别属性类型。The property type is not recognized.

InvalidPropertyType -2147217366

为属性指定的 CIM 类型无效。The CIM type specified for a property is not valid.

InvalidProviderRegistration -2147217390

架构中引用的一个提供程序的注册不正确或不完整。A provider referenced in the schema has an incorrect or incomplete registration.

InvalidQualifier -2147217342

尝试错误匹配限定符,如将 [ManagementKey] 放置到对象而不是属性上。An attempt has been made to mismatch qualifiers, such as putting [ManagementKey] on an object instead of a property.

InvalidQualifierType -2147217367

为限定符提供的值不是合法的限定符类型。The value provided for a qualifier was not a legal qualifier type.

InvalidQuery -2147217385

查询在语法上无效。The query was not syntactically valid.

InvalidQueryType -2147217384

不支持所请求的查询语言。The requested query language is not supported.

InvalidStream -2147217397

在远程会话过程中一个或多个网络数据包损坏。One or more network packets were corrupted during a remote session.

InvalidSuperclass -2147217395

所指定的超类无效。The specified superclass is not valid.

InvalidSyntax -2147217375

留待将来使用。Reserved for future use.

LocalCredentials -2147217308

用户指定用于本地连接的用户名、密码或授权。The user specified a user name, password, or authority on a local connection. 用户必须使用空用户名和密码并信赖默认安全性。The user must use an empty user name and password and rely on default security.

MarshalInvalidSignature -2147217343

数据包损坏。The packet is corrupted.

MarshalVersionMismatch -2147217344

数据包的版本不受支持。The packet has an unsupported version.

MethodDisabled -2147217322

尝试执行标记为 [disabled] 的方法。An attempt was made to execute a method marked with [disabled].

MethodNotImplemented -2147217323

尝试执行在任何相关类中均未标记为 [implemented] 的方法。An attempt was made to execute a method not marked with [implemented] in any relevant class.

MissingAggregationList -2147217317

使用了 GROUP BY 子句。A GROUP BY clause was used. 不支持对所有属性的聚合。Aggregation on all properties is not supported.

MissingGroupWithin -2147217318

使用 GROUP BY 子句时没有对应的 GROUP WITHIN 子句。A GROUP BY clause was used without the corresponding GROUP WITHIN clause.

MissingParameterID -2147217354

方法调用缺少一个参数。A parameter was missing from the method call.

NoError 0

操作成功。The operation was successful.

NoMoreData 262149

枚举中已没有更多可用数据,用户应终止枚举。No more data is available from the enumeration; the user should terminate the enumeration.

NonconsecutiveParameterIDs -2147217352

一个或多个方法参数的 ID 限定符的顺序不对。One or more of the method parameters have ID qualifiers that are out of sequence.

NondecoratedObject -2147217374

留待将来使用。Reserved for future use.

NotAvailable -2147217399

资源(通常为远程服务器)当前不可用。The resource, typically a remote server, is not currently available.

NotEventClass -2147217319

筛选查询的 FROM 子句引用了非事件类的类。The FROM clause of a filtering query references a class that is not an event class.

NotFound -2147217406

未能找到对象。The object could not be found.

NotSupported -2147217396

功能或操作不受支持。The feature or operation is not supported.

OperationCanceled 262150

该操作已取消。The operation was canceled.

OutOfDiskSpace -2147217349

没有足够的可用磁盘空间来继续操作。There is not enough free disk space to continue the operation.

OutOfMemory -2147217402

无足够内存来执行操作。There was not enough memory for the operation.

OverrideNotAllowed -2147217382

不能对限定符执行添加操作,因为所属对象不允许重写。The add operation cannot be performed on the qualifier because the owning object does not permit overrides.

ParameterIDOnRetval -2147217351

方法的返回值有 ID 限定符。The return value for a method has an ID qualifier.

PartialResults 262160

由于资源无法访问(而不是安全性冲突),用户没有收到请求的所有对象。The user did not receive all of the requested objects because of inaccessible resources (other than security violations).

Pending 262151

请求仍在进行中,不过,结果尚不可用。A request is still in progress; however, the results are not yet available.

PrivilegeNotHeld -2147217310

由于客户端没有所需的安全特权,所以操作失败。The operation failed because the client did not have the necessary security privilege.

PropagatedMethod -2147217356

尝试重用超类现有的方法名称,而签名不匹配。An attempt was made to reuse an existing method name from a superclass, and the signatures did not match.

PropagatedProperty -2147217380

用户尝试删除非其所有的属性。The user attempted to delete a property that was not owned. 该属性是从父类继承的。The property was inherited from a parent class.

PropagatedQualifier -2147217381

用户尝试删除非其所有的限定符。The user attempted to delete a qualifier that was not owned. 该限定符是从父类继承的。The qualifier was inherited from a parent class.

PropertyNotAnObject -2147217316

在不是嵌入对象的属性上使用点表示法。Dot notation was used on a property that is not an embedded object.

ProviderFailure -2147217404

提供程序在初始化后失败。The provider failed after initialization.

ProviderLoadFailure -2147217389

COM 无法定位架构中引用的提供程序。COM cannot locate a provider referenced in the schema.

ProviderNotCapable -2147217372

提供程序不能执行所请求的操作,如请求过于复杂的查询、检索实例、创建或更新类、删除类或枚举类。The provider cannot perform the requested operation, such as requesting a query that is too complex, retrieving an instance, creating or updating a class, deleting a class, or enumerating a class.

ProviderNotFound -2147217391

架构中引用的提供程序没有对应的注册。A provider referenced in the schema does not have a corresponding registration.

QueryNotImplemented -2147217369

留待将来使用。Reserved for future use.

QueueOverflow -2147217311

由于速度太慢,异步传送队列从事件使用程序溢出。The asynchronous delivery queue overflowed from the event consumer being too slow.

ReadOnly -2147217373

尝试修改的属性是只读属性。The property that you are attempting to modify is read-only.

RefresherBusy -2147217321

刷新程序正忙于进行另一个操作。The refresher is busy with another operation.

RegistrationTooBroad -2147213311

提供程序注册与系统事件域重叠。The provider registration overlaps with the system event domain.

RegistrationTooPrecise -2147213310

在此查询中没有使用 WITHIN 子句。A WITHIN clause was not used in this query.

ResetToDefault 262146

重写的属性已删除。An overridden property was deleted. 返回此值表示作为删除的结果,原始的非重写值已还原。This value is returned to signal that the original, non-overridden value has been restored as a result of the deletion.

ServerTooBusy -2147217339

事件传送失败。The delivery of an event has failed. 提供程序可能选择重新引发该事件。The provider may choose to re-raise the event.

ShuttingDown -2147217357

用户在 WMI 正处于关闭过程中时请求了一个操作。The user has requested an operation while WMI is in the process of closing.

SystemProperty -2147217360

尝试获取系统属性的限定符。There was an attempt to get qualifiers on a system property.

Timedout 262148

调用超时。这并非错误情况,所以可能已经返回了一些结果。A call timed out. This is not an error condition; therefore, some results may have been returned.

TooManyProperties -2147217327

尝试创建的属性比当前版本的类所支持的属性多。An attempt was made to create more properties than the current version of the class supports.

TooMuchData -2147217340

留待将来使用。Reserved for future use.

TransportFailure -2147217387

发生了阻止正常操作的网络错误。A networking error that prevents normal operation has occurred.

TypeMismatch -2147217403

出现类型不匹配。A type mismatch occurred.

Unexpected -2147217379

客户端执行了意外且非法的调用顺序。The client made an unexpected and illegal sequence of calls.

UninterpretableProviderQuery -2147217313

事件提供程序注册查询 (__EventProviderRegistration) 未指定事件所提供给的类。An event provider registration query (__EventProviderRegistration) did not specify the classes for which events were provided.

UnknownObjectType -2147217346

在封送过程中遇到类型或版本不正确的对象。An object with an incorrect type or version was encountered during marshaling.

UnknownPacketType -2147217345

在封送过程中遇到类型或版本不正确的数据包。A packet with an incorrect type or version was encountered during marshaling.

UnparsableQuery -2147217320

筛选查询在语法上无效。The filtering query is syntactically invalid.

UnsupportedClassUpdate -2147217336

不支持所指定的类。The specified class is not supported.

UnsupportedParameter -2147217355

一个或多个参数值(如查询文本)过于复杂或不受支持。One or more parameter values, such as a query text, is too complex or unsupported. 请求 WMI 使用较简单的参数重试该操作。WMI is requested to retry the operation with simpler parameters.

UnsupportedPutExtension -2147217347

提供程序不支持所请求的 Put 操作。The provider does not support the requested put operation.

UpdateOverrideNotAllowed -2147217325

尝试在派生类中重写非可重写的限定符。An attempt was made in a derived class to override a non-overridable qualifier.

UpdatePropagatedMethod -2147217324

在派生类中使用冲突签名重新声明方法。A method was redeclared with a conflicting signature in a derived class.

UpdateTypeMismatch -2147217326

在派生类中使用冲突类型重定义属性。A property was redefined with a conflicting type in a derived class.

ValueOutOfRange -2147217365

请求时所用值超出范围,或是该请求与类型不兼容。The request was made with an out-of-range value, or is incompatible with the type.

适用于