共用方式為


3.1.1.3.15 RolesForMethod Table

The entries in the RolesForMethod table represent associations of roles and methods.

Table identifier: {CD331D14-C739-11D1-9D35-006008B0E5CA}

AuxiliaryGuid: None.

Defined in catalog version: All catalog versions.

Prerequisites: None.

Hidden bitness property: No.

Supported query templates:

  • Catalog version 3.00:

    Cell 1

    Cell 2

    Cell 3

    CLSID equals <A>.

    IID equals <B>.

    Opnum equals <C>.

  • Catalog version 4.00 and catalog version 5.00:

    Cell 1

    Cell 2

    Cell 3

    Cell 4

    Cell 5

    CLSID equals <A>.

    IID equals <B>.

    Opnum equals <C>.

    PartitionIdentifier equals <D>.

    ConfigurationBitness equals <E>.

Primary key:

  • Catalog version 3.00: CLSID, IID, Opnum, RoleName

  • Catalog version 4.00 and catalog version 5.00: CLSID, PartitionIdentifier, Reserved, IID, Opnum, ConfigurationBitness, RoleName

Other referential constraints:

Catalog version

Constraints

3.00

There MUST exist a configured method with identical values of CLSID, IID, Opnum, and MethodName.

There MUST exist a role with an identical value of RoleName to this entry and an identical value of ConglomerationIdentifier to the component full configuration identified by CLSID.

4.00/5.00

There MUST exist a configured method with identical values of CLSID, PartitionIdentifier, IID, Opnum, ConfigurationBitness, and MethodName.

There MUST exist a role with an identical value of RoleName to this entry and an identical value of ConglomerationIdentifier to the component full configuration identified by CLSID, PartitionIdentifier, and ConfigurationBitness.

Write restrictions: Update MUST NOT be supported.

Add and remove MUST be supported if and only if:

  • The conglomeration containing the component full configuration identified by CLSID (and in catalog version 4.00 and catalog version 5.00, PartitionIdentifier and ConfigurationBitness) has the value "Y" for Changeable.

  • The conglomeration containing the component full configuration identified by CLSID (and in catalog version 4.00 and catalog version 5.00, PartitionIdentifier and ConfigurationBitness) has the value "N" for IsSystem.

  • Catalog version 4.00 and catalog version 5.00: The partition identified by PartitionIdentifier has the value "Y" for Changeable.

Cascade: None.

Populate: None.

Properties:

Index (3.00)

Index (4.00/5.00)

Property name

Type

Size

Flags

Meta

0

0

CLSID

eDT_GUID

16

0x00000003

RO

-

1

PartitionIdentifier

eDT_GUID

16

0x00000003

RO

-

2

Reserved

eDT_GUID

16

0x00000003

RO

1

3

IID

eDT_GUID

16

0x00000003

RO

2

4

Opnum

eDT_ULONG

4

0x00000003

RO

-

5

ConfigurationBitness

eDT_ULONG

4

0x00000003

RO

3

6

MethodName

eDT_LPWSTR

510

0x00000000

RO

4

7

Internal1

eDT_ULONG

4

0x00000000

IN

5

8

RoleName

eDT_LPWSTR

510

0x00000000

RO

In the previous table, the internal property (marked with IN in the Meta column) MUST NOT be written to or interpreted by the client. The server's use of this property is implementation-specific because it does not affect interoperability.

CLSID: The CLSID property of the configured method.

PartitionIdentifier: The PartitionIdentifier property of the configured method.

Reserved: A PlaceholderGuidProperty (section 2.2.2.1.2).

ConfigurationBitness: The ConfigurationBitness property of the configured method.

IID: The IID property of the configured method.

MethodName: The MethodName property of the configured method.

RoleName: The RoleName property of the role.<218>