Role: The interface is used to manage the attributes of an Operation.
Methods
- 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 dd>
- oProfiles
- The List of User Profiles. dd>
- 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 ..
- Sub SetUserProfilesList( iUserProfiles)
-
Sets User Profiles List for the Operation.
- Parameters:
-
- iUserProfiles
- The List of User Profiles to be set. dd>
- 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