Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
StreamBaseClient..::GetSchemaByName Method

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: 10.3.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

Exception | Condition
--- | ---
StreamBase.SB..::..StreamBaseException | No Schema by that name, or general problem occurred

# See Also

StreamBaseClient Class
StreamBase.SB.Client Namespace