Jaa


CreateDataSource Method

Creates a new data source in a catalog.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Sub CreateDataSource ( _
    ByRef xmlDoc As DOMDocument _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim xmlDoc As DOMDocument

instance.CreateDataSource(xmlDoc)
public void CreateDataSource(
    ref DOMDocument xmlDoc
)
public:
void CreateDataSource(
    DOMDocument^% xmlDoc
)
public function CreateDataSource(
    xmlDoc : DOMDocument
)

Parameters

  • xmlDoc
    Type: DOMDocument%
    The XML DOMDocument objects that will contain the new data source.

Exceptions

Exception Condition
ERR_NOCONNECTION

The profile data store connection is not open.

ERR_XMLDOC_ISNULL

xmlDoc is nullNothingnullptra null reference (Nothing in Visual Basic), an xmlDoc.documentElement is nullNothingnullptra null reference (Nothing in Visual Basic), or a parsing error occurs.

Remarks

Creates an XML DOMDocument object that contains the new data source.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace