KeyName Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the Name of the primary key property for the definition.
Namespace: Microsoft.CommerceServer.Profiles
Assembly: Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)
Syntax
'Declaration
Public Property KeyName As String
'Usage
Dim instance As DuplicateKeyValueException
Dim value As String
value = instance.KeyName
instance.KeyName = value
public string KeyName { get; set; }
public:
property String^ KeyName {
String^ get ();
void set (String^ value);
}
public function get KeyName () : String
public function set KeyName (value : String)
Property Value
Type: System..::.String
Name of the primary key property.
Remarks
Returns the Name of the primary key property for the definition.
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.
See Also
Reference
DuplicateKeyValueException Class