ICcObject::get_IsProtected (Windows Embedded CE 6.0)

1/5/2010

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
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

ICcObject
Core Connectivity Interfaces