GetProfileByKey Method
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)
Syntax
'Declaration
Function GetProfileByKey ( _
bstrKeyMemberName As String, _
sValue As Object, _
bstrType As String, _
bReturnError As Boolean _
) As IProfileObject
'Usage
Dim instance As IProfileService
Dim bstrKeyMemberName As String
Dim sValue As Object
Dim bstrType As String
Dim bReturnError As Boolean
Dim returnValue As IProfileObject
returnValue = instance.GetProfileByKey(bstrKeyMemberName, _
sValue, bstrType, bReturnError)
IProfileObject GetProfileByKey(
string bstrKeyMemberName,
Object sValue,
string bstrType,
bool bReturnError
)
IProfileObject^ GetProfileByKey(
[InAttribute] String^ bstrKeyMemberName,
[InAttribute] Object^ sValue,
[InAttribute] String^ bstrType,
[InAttribute] bool bReturnError
)
function GetProfileByKey(
bstrKeyMemberName : String,
sValue : Object,
bstrType : String,
bReturnError : boolean
) : IProfileObject
Parameters
- bstrKeyMemberName
Type: System..::.String
- sValue
Type: System..::.Object
- bstrType
Type: System..::.String
- bReturnError
Type: System..::.Boolean
Return Value
Type: Microsoft.CommerceServer.Interop.Profiles..::.IProfileObject
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.