DoLookupPromoCodeDefinitionByCode Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Protected Function DoLookupPromoCodeDefinitionByCode ( _
promoCode As String _
) As PromoCodeDefinitionData
'Usage
Dim promoCode As String
Dim returnValue As PromoCodeDefinitionData
returnValue = Me.DoLookupPromoCodeDefinitionByCode(promoCode)
protected PromoCodeDefinitionData DoLookupPromoCodeDefinitionByCode(
string promoCode
)
protected:
PromoCodeDefinitionData^ DoLookupPromoCodeDefinitionByCode(
String^ promoCode
)
protected function DoLookupPromoCodeDefinitionByCode(
promoCode : String
) : PromoCodeDefinitionData
Parameters
- promoCode
Type: System..::.String
Reserved for internal use only.
Return Value
Type: PromoCodeDefinitionData
Reserved for internal use only.
Remarks
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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.