protected void SetNamespaces(params string[] namespaceUris)
{
// create the table of namespaces that are used by the NodeManager.
m_namespaceUris = namespaceUris;
// add the uris to the server's namespace table and cache the indexes.
m_namespaceIndexes = new ushort[m_namespaceUris.Length];
for (int ii = 0; ii < m_namespaceUris.Length; ii++)
{
m_namespaceIndexes[ii] = m_server.NamespaceUris.GetIndexOrAppend(m_namespaceUris[ii]);
}
}