Get a schema by name. This will only succeed for named schemas; unnamed schemas assigned to a stream should instead be looked up by using the Schema for the given stream as returned by GetStreamProperties(String)

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public Schema GetSchemaByName(
	string sName
)
Public Function GetSchemaByName ( _
	sName As String _
) As Schema
public:
Schema^ GetSchemaByName(
	String^ sName
)

Parameters

sName
String

Exceptions

ExceptionCondition
StreamBase.SB..::..StreamBaseExceptionNo Schema by that name, or general problem occurred

See Also