Partager via


SetCategoryNameNull Method

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

Sets the CategoryNameColumn to a DBNull value.

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

Syntax

'Declaration
Public Sub SetCategoryNameNull
'Usage
Dim instance As CatalogVirtualCatalogRulesDataSet..::.VirtualCatalogRule

instance.SetCategoryNameNull()
public void SetCategoryNameNull()
public:
void SetCategoryNameNull()
public function SetCategoryNameNull()

Remarks

If you attempt to set a database property to nullNothingnullptra null reference (Nothing in Visual Basic) using the .NET Framework, you will probably fail. This is because the .NET Framework uses the DBNull class instead of null for database values.

Permissions

See Also

Reference

CatalogVirtualCatalogRulesDataSet..::.VirtualCatalogRule Class

CatalogVirtualCatalogRulesDataSet..::.VirtualCatalogRule Members

Microsoft.CommerceServer.Catalog Namespace