CustomerName Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the name of the customer that the current campaign object is associated with.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public ReadOnly Property CustomerName As String
'Usage
Dim instance As Campaign
Dim value As String
value = instance.CustomerName
public string CustomerName { get; }
public:
property String^ CustomerName {
String^ get ();
}
public function get CustomerName () : String
Property Value
Type: System..::.String
The name of the associated customer.
Remarks
This property, under certain circumstances, may not be accurate. If the CustomerId property is modified, the CustomerName property will not contain the name of the customer with updated id. The CustomerName property will not be updated until the campaign is saved.
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.