GetProfile Method
Retrieves the specified profile 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 GetProfile ( _
ByRef profilePath As String, _
encoding As String _
) As DOMDocument
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim profilePath As String
Dim encoding As String
Dim returnValue As DOMDocument
returnValue = instance.GetProfile(profilePath, _
encoding)
public DOMDocument GetProfile(
ref string profilePath,
string encoding
)
public:
DOMDocument^ GetProfile(
String^% profilePath,
String^ encoding
)
public function GetProfile(
profilePath : String,
encoding : String
) : DOMDocument
Parameters
- profilePath
Type: System..::.String%
The path the catalog to retrieve.
- encoding
Type: System..::.String
Contains the document encoding.
Return Value
Type: DOMDocument
An XML DOMDocument containging the specified catalog.
Remarks
This method uses the reasonably optimized GetProfileAEx 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