In the web version I can prevent the end user from editing the connection string by doing this :
Code: Select all
options.Dictionary.PermissionDataConnections = StiDesignerPermissions.View;Code: Select all
SelectedReport.SReport.Dictionary.Restrictions.Add("Cypher1", StiDataType.Database, StiRestrictionTypes.DenyEdit);
StiOptions.Designer.CodeTabVisible = false;How do I achieve the same thing as the web application in making the data connection read only?