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
- 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, 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.