Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exports the specified profile definitions to a specified file, in the specified namespace as XSD schema.
Namespace: Microsoft.CommerceServer.Profiles
Assembly: Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)
Syntax
'Declaration
Public Sub ExportSchemas ( _
fileName As String, _
targetNamespace As String, _
profileTypes As String() _
)
'Usage
Dim instance As ProfileXsdSchemaExport
Dim fileName As String
Dim targetNamespace As String
Dim profileTypes As String()
instance.ExportSchemas(fileName, targetNamespace, _
profileTypes)
public void ExportSchemas(
string fileName,
string targetNamespace,
string[] profileTypes
)
public:
void ExportSchemas(
String^ fileName,
String^ targetNamespace,
array<String^>^ profileTypes
)
public function ExportSchemas(
fileName : String,
targetNamespace : String,
profileTypes : String[]
)
Parameters
- fileName
Type: System..::.String
Filename to put XSD schema.
- targetNamespace
Type: System..::.String
The target namespace to use in the XSD schema.
- profileTypes
Type: array<System..::.String>[]()[]
An array of profile definitions to retrieve.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | fileName or profileTypes is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Exports the specified profile definitions to a specified file, in the specified namespace as XSD schema.
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.