Partager via


IsReadOnlyColumn Method

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

Helper to determine if a column is marked as read-only.

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

Syntax

'Declaration
Public Shared Function IsReadOnlyColumn ( _
    columnName As String _
) As Boolean
'Usage
Dim columnName As String
Dim returnValue As Boolean

returnValue = CatalogDefinitionsDataSetSchema.IsReadOnlyColumn(columnName)
public static bool IsReadOnlyColumn(
    string columnName
)
public:
static bool IsReadOnlyColumn(
    String^ columnName
)
public static function IsReadOnlyColumn(
    columnName : String
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true to indicate columnName is a read only column; otherwise, false.

Remarks

The following catalog database columns in the CatalogDefinitions table are marked read-only:

  • DefinitionId

  • DefinitionName

  • DefinitionType

Permissions

See Also

Reference

CatalogDefinitionsDataSetSchema Class

CatalogDefinitionsDataSetSchema Members

Microsoft.CommerceServer.Catalog Namespace