Share via


ICcObject::get_IsProtected

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This method determines if a datastore object is protected.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT get_IsProtected(
  VARIANT_BOOL* out_pbIsProtected
);

Parameters

  • out_ pbIsProtected
    [out, retval] Boolean value that indicates if the object is protected.

Return Value

The following table indicates the return values for this method.

Value Description

VARIANT_TRUE

Indicates the specified object is protected.

VARIANT_FALSE

Indicates the specified object is not protected.

E_OUTOFMEMORY

Indicates the method could not allocate the bstr parameter out_pbIsProtected.

E_INVALIDARG

Indicates an invalid argument.

Requirements

Header ccdatastore.h

See Also

Reference

Core Connectivity Interfaces