ExportAllSchemas Method (String, String)

Exports all 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 ExportAllSchemas ( _
    fileName As String, _
    targetNamespace As String _
)
'Usage
Dim instance As ProfileXsdSchemaExport
Dim fileName As String
Dim targetNamespace As String

instance.ExportAllSchemas(fileName, targetNamespace)
public void ExportAllSchemas(
    string fileName,
    string targetNamespace
)
public:
void ExportAllSchemas(
    String^ fileName, 
    String^ targetNamespace
)
public function ExportAllSchemas(
    fileName : String, 
    targetNamespace : String
)

Parameters

  • targetNamespace
    Type: System..::.String
    The target namespace to use in the XSD schema.

Exceptions

Exception Condition
ArgumentNullException

fileName is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Exports all profile definitions to a specified file, in the specified namespace as XSD schema.

Permissions

See Also

Reference

ProfileXsdSchemaExport Class

ProfileXsdSchemaExport Members

ExportAllSchemas Overload

Microsoft.CommerceServer.Profiles Namespace