ResourceAccess
Overview
The ResourceAccess class contains methods to retrieve resources from assemblies by name and extension. Its methods are used intenally by Data Abstract to retrieve schemas (as SchemaAccess class), Configuration files (as ConfigurationAccess class) or Connection files (as ConnectionManager class). The return value can be in XML or stream format.
Location
- Reference: RemObjects.DataAbstract.Server.dll
- Namespace: RemObjects.DataAbstract.Server
Class Methods
RetrieveDataAbstractXmlResource
class method RetrieveDataAbstractXmlResource(name: String; extension: String): XmlDocument
static XmlDocument RetrieveDataAbstractXmlResource(String name, String extension)
Shared Function RetrieveDataAbstractXmlResource(name As String, extension As String) As XmlDocument
Parameters:
- name:
- extension:
RetrieveStreamResource
class method RetrieveStreamResource(name: String; assembly: Assembly; extension: String): Stream
static Stream RetrieveStreamResource(String name, Assembly assembly, String extension)
Shared Function RetrieveStreamResource(name As String, assembly As Assembly, extension As String) As Stream
Parameters:
- name:
- assembly:
- extension:
RetrieveXmlResource
class method RetrieveXmlResource(name: String; assembly: Assembly; extension: String): XmlDocument
static XmlDocument RetrieveXmlResource(String name, Assembly assembly, String extension)
Shared Function RetrieveXmlResource(name As String, assembly As Assembly, extension As String) As XmlDocument
Parameters:
- name:
- assembly:
- extension: