Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
Gets the value of the key of the object.
Syntax
object.Key
Parameters
object
Required. An object variable that evaluates to a CatalogObject object.
Remarks
All catalog objects have a key. The object key is a single property that uniquely identifies the object. To access a related collection using the GetCollection method, provide the key of the object from which you want to navigate (such as the package identifier). The following table provides the key property for each collection supported:
Collection | Key Property |
---|---|
Packages | ID |
ComponentsInPackage | CLSID |
RolesInPackage | ID |
RolesForPackageComponent | ID |
RolesForPackageComponentInterface | ID |
UsersInRole | User |
InterfacesForComponent | IID |
InterfacesForRemoteComponent | IID |
RemoteComponents | CLSID |
MethodsForInterface | Name |