DisableCommandLine property

IFsrmSetting::DisableCommandLine property

Retrieves or sets a value that determines whether FSRM prevents command line actions from running.

This property is read/write.

Syntax


HRESULT put_DisableCommandLine(
  [in]  VARIANT_BOOL disableCommandLine
);

HRESULT get_DisableCommandLine(
  [out] VARIANT_BOOL disableCommandLine
);

Property value

Set to VARIANT_TRUE to prevent FSRM from running command line actions; otherwise, VARIANT_FALSE. The default is VARIANT_FALSE.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Examples

For an example, see IFsrmSetting.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h, or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmSetting is defined as f556d708-6d4d-4594-9c61-7dbb0dae2a46 (Defined in FsrmTlb.h)

IID

IID_IFsrmSetting is defined as f411d4fd-14be-4260-8c40-03b7c95e608a

See also

IFsrmSetting
FsrmSetting

 

 

Show:
© 2016 Microsoft