Share via


GetProfiles Method (String)

Retrieves a profile object collection of the specified profile type, 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 ( _
    profileType As String _
) As ProfileCollection
'Usage
Dim instance As ProfileProperty
Dim profileType As String
Dim returnValue As ProfileCollection

returnValue = instance.GetProfiles(profileType)
public ProfileCollection GetProfiles(
    string profileType
)
public:
ProfileCollection^ GetProfiles(
    String^ profileType
)
public function GetProfiles(
    profileType : String
) : ProfileCollection

Parameters

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, using the current property values as the values for the primary key.

Permissions

See Also

Reference

ProfileProperty Class

ProfileProperty Members

GetProfiles Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace