IFsrmFileManagementJob::Enabled property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

Indicates whether the job enabled (can run).

This property is read/write.

Syntax


HRESULT put_Enabled(
  [in]   VARIANT_BOOL enabled
);

HRESULT get_Enabled(
  [out]  VARIANT_BOOL *pEnabled
);

Property value

Set to VARIANT_TRUE to enable the job to run; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show:
© 2014 Microsoft