Tamino API for .NET

TaminoSchemaCommand.GetSchema Method 

Searches for all schema definitions with the specified name in the specified collection. It returns a list of xs:schema nodes. The returned node list contains a node for each schema found.

[Visual Basic]
Public Function GetSchema( _
   ByVal collection As String, _
   ByVal schema As String _
) As XmlNodeList
[C#]
public XmlNodeList GetSchema(
   string collection,
   string schema
);

Parameters

collection
the collection
schema
the schema

Return Value

the xs:schema node list

Remarks

If collection is null, all schema definitions with the specified name are returned. If schema is null, all schema definitions in the specified collection are returned. If both schema and collection are null, all schema definitions in the whole database are returned.

Exceptions

Exception TypeCondition
WebExceptionif there is a communication failure

See Also

TaminoSchemaCommand Class | TaminoSchemaCommand Members | SoftwareAG.Tamino.Api Namespace