Share via


VariantId Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the value in the VariantIdcolumn of the InventorySkusDataSet..::.InventorySkusDataTable table.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property VariantId As String
'Usage
Dim instance As InventorySkusDataSet..::.InventorySku
Dim value As String

value = instance.VariantId

instance.VariantId = value
public string VariantId { get; set; }
public:
property String^ VariantId {
    String^ get ();
    void set (String^ value);
}
public function get VariantId () : String
public function set VariantId (value : String)

Property Value

Type: System..::.String
The variant identifier.

Exceptions

Exception Condition
StrongTypingException

The value for column VariantId in table InventorySkus is DBNull.

Remarks

The value in the VariantIdcolumn column of the InventorySkusDataSet..::.InventorySkusDataTable table.

Permissions

See Also

Reference

InventorySkusDataSet..::.InventorySku Class

InventorySkusDataSet..::.InventorySku Members

Microsoft.CommerceServer.Inventory Namespace