| Visual Basic (Declaration) | |
|---|---|
Protected Overridable Function AuthorizeSave() As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EntityServerSaveInterceptor Dim value As Boolean value = instance.AuthorizeSave() | |
| C# | |
|---|---|
protected virtual bool AuthorizeSave() | |
| C++/CLI | |
|---|---|
protected: virtual bool AuthorizeSave(); | |
| Exception | Description |
|---|---|
| IdeaBlade.EntityModel.EntityServerException | Thrown for authorization failure |
The default implementation calls ClientCanSave for all types involved in the request to determine if the user is authorized. If not authorized an exception is thrown.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family