GetDataSource Method
Retrieves the specified data-source from the specified catalog.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)
Syntax
'Declaration
Public Function GetDataSource ( _
ByRef sourcePath As String _
) As DOMDocument
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim sourcePath As String
Dim returnValue As DOMDocument
returnValue = instance.GetDataSource(sourcePath)
public DOMDocument GetDataSource(
ref string sourcePath
)
public:
DOMDocument^ GetDataSource(
String^% sourcePath
)
public function GetDataSource(
sourcePath : String
) : DOMDocument
Parameters
- sourcePath
Type: System..::.String%
Path to the source to be retrieved.
Return Value
Type: DOMDocument
An XML DOMDocument containing the data source.
Remarks
This method uses the reasonably optimized GetSourceAex helper function to perform the operation.
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.
See Also
Reference
BusinessDataAdminFreeThreaded Class