A Sandcastle Documented Class Library

# IViewService Save Method (View)

Saves the specified entity.

Namespace: Dundas.BI.Entities.Views
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void Save(
    	View instance
    )

    Sub Save (
    	instance As View
    )

    void Save(
    	View^ instance
    )

    abstract Save :
            instance : View -> unit

#### Parameters

instance
  Type: Dundas.BI.Entities.Views
  View
  The entity to save.

#### Implements

IEntityService
T
Save(T)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | instance is .
InvalidOperationException | The entity has never been saved before. -or- The entity is not checked out to the caller.
NotFoundException | The entity with the specified ID does not exist when saving an existing entity.
NoPrivilegeException | The caller does not have the Write permission on the entity. -or- The entity being saved is not a dashboard and the caller's seat kind is not PowerUser or better.
InvalidSessionException | The caller context is not associated with a valid session.

Remarks
This overload should only be used for entities which have been previously saved. Otherwise, use Save(T, String, Guid, Boolean). After saving, the entity's properties (Id, LastModifiedTime, etc.) will be updated. This method will honour the EntitySaveOptions associated with the instance.
See Also

#### Reference

IViewService Interface
Save Overload
Dundas.BI.Entities.Views Namespace