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
- fileName
Type: System..::.String
Filename to put XSD schema.
- 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
- 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.