IsReadOnlyColumn Method
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 = CatalogsDataSetSchema.IsReadOnlyColumn(columnName)
public static bool IsReadOnlyColumn(
string columnName
)
public:
static bool IsReadOnlyColumn(
String^ columnName
)
public static function IsReadOnlyColumn(
columnName : String
) : boolean
Parameters
- columnName
Type: System..::.String
The column name.
Return Value
Type: System..::.Boolean
true to indicate columnName is a read only column; otherwise, false.
Remarks
The following catalog database columns in the Catalogs table are marked read-only:
CatalogId
CatalogName
CatalogStatus
CustomCatalog
FreeTextIndexCreated
FullTextCatalogName
IsVirtualCatalog
IsVirtualCatalogView
ProductId
ProductTableUpdated
TimeStamp
VariantId
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.