ProfileProperty.GetProfiles (String, String) Method (BCL)

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 the primary key.

Definition

[Visual Basic .NET]

Public Function GetProfiles( _
ByValkeyName As System.String, _
  ByValprofileType As System.String, _
) As Microsoft.CommerceServer.Runtime.Profiles.ProfileCollection

[C#]

public Microsoft.CommerceServer.Runtime.Profiles.ProfileCollection GetProfiles(
System.StringkeyName,
  System.StringprofileType,
);

Parameters

[Visual Basic .NET]

  • keyName
    A String that contains the key member to retrieve the profile.
  • profileType
    A String that contains the profile type of interest.

[C#]

  • keyName
    A String that contains the key member to retrieve the profile.
  • profileType
    A String that contains the profile type of interest.

Return Value

A profile object collection of the specified profile type

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.