다음을 통해 공유


Fields Property

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

Gets an object whose contents include recordsets that hold the configuration settings of the site.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Public ReadOnly Property Fields As Fields
'Usage
Dim instance As SiteConfigFreeThreaded
Dim value As Fields

value = instance.Fields
public Fields Fields { get; }
public:
property Fields^ Fields {
    Fields^ get ();
}
public function get Fields () : Fields

Property Value

Type: Fields
This property returns a collection of ADODB.Fields objects.

Remarks

A Fields object is an ADODB.Fields object.

Returns site configuration data.

Child recordsets, containing the resource properties for the child resources, are inserted directly into the fields collection of the parent in the database.

The Commerce Server 2007 version is different from the Commerce Server 2002 version in that the Fields property would be a recordset whose columns were of type adChapter. The new behavior is that the column type is adIDispatch and refers to the child recordset.

The Fields collection is constructed during the initialization process, therefore, the Initialize method must be called before this method can be called.

Permissions

See Also

Reference

SiteConfigFreeThreaded Class

SiteConfigFreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace