Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Retrieves a profile object collection of the specified profile type by the specified key member name, using the current property value(s) as the values for the primary key.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Function GetProfiles ( _
keyName As String, _
profileType As String _
) As ProfileCollection
'Usage
Dim instance As ProfileProperty
Dim keyName As String
Dim profileType As String
Dim returnValue As ProfileCollection
returnValue = instance.GetProfiles(keyName, _
profileType)
public ProfileCollection GetProfiles(
string keyName,
string profileType
)
public:
ProfileCollection^ GetProfiles(
String^ keyName,
String^ profileType
)
public function GetProfiles(
keyName : String,
profileType : String
) : ProfileCollection
Parameters
- keyName
Type: System..::.String
Key member to fetch profile with.
- profileType
Type: System..::.String
Profile type of interest.
Return Value
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileCollection
A profile object collection of the specified profile type.
Remarks
Use this method to retrieve a profile object collection of the specified profile type by the specified key member name, using the current property values as the values for the primary key.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.