Indexes   

OperationProfile (Object)

Represents an Operation.

Role: The interface is used to manage the attributes of an Operation.

Method Index

GetUserProfilesList
Retreives the list of User Profiles for the Operation.
SetUserProfilesList
Sets User Profiles List for the Operation.

Methods


o Sub GetUserProfilesList( iProfileType,
oProfiles)
Retreives the list of User Profiles for the Operation.
Parameters:
iProfileType
if iType specified, only a list of that type inside the User Profiles List will be returned if iType is an empty string, all the User Profiles are returned
oProfiles
The List of User Profiles.
Returns:
An HRESULT.
Legal values:
S_OK
List of User Profiles is successfully returned
E_FAIL
List of User Profiles could not be obtained
Example:
   Dim objOperProfile As OperationProfile
   Dim ProfileType as String
   ProfileType=""
          ......
   Dim MyListOfProfiles() As ParameterProfiles 
   objOperProfile.GetUserProfilesList ProfileType, MyListOfProfiles
   ..
   
o Sub SetUserProfilesList( iUserProfiles)
Sets User Profiles List for the Operation.
Parameters:
iUserProfiles
The List of User Profiles to be set.
Returns:
An HRESULT.
Legal values:
S_OK
The List of User Profiles was successfully set.
E_FAIL
The List of User Profiles could not be set.
Example:
The following example sets the user profiles list for an Operation.
   Dim objOperProfile as OperationProfile
   Dim MyListOfProfiles() As ParameterProfiles
   ...
   ...
   objOperProfile.SetUserProfilesList MyListOfProfiles
   

Copyright © 2006, Dassault Systèmes. All rights reserved.