IVsDataObjectStore.InvalidateObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InvalidateObjects(String, Object[]) |
Invalidates the data objects corresponding to the specified type and restrictions, forcing the data objects to be selected from the data source for future requests, as opposed to retrieving them from the object store cache. |
InvalidateObjects(String) |
Invalidates the data objects corresponding to the specified type, forcing the data objects to be selected from the data source for future requests, as opposed to retrieving them from the object store cache. |
InvalidateObjects(String, Object[])
Invalidates the data objects corresponding to the specified type and restrictions, forcing the data objects to be selected from the data source for future requests, as opposed to retrieving them from the object store cache.
public:
void InvalidateObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions);
public void InvalidateObjects (string typeName, object[] restrictions);
abstract member InvalidateObjects : string * obj[] -> unit
Public Sub InvalidateObjects (typeName As String, restrictions As Object())
Parameters
- typeName
- String
The data source–specific name of the type to invalidate.
- restrictions
- Object[]
An array containing the restrictions associated with the specified type to invalidate.
Exceptions
The typeName
parameter is null.
Applies to
InvalidateObjects(String)
Invalidates the data objects corresponding to the specified type, forcing the data objects to be selected from the data source for future requests, as opposed to retrieving them from the object store cache.
public:
void InvalidateObjects(System::String ^ typeName);
public void InvalidateObjects (string typeName);
abstract member InvalidateObjects : string -> unit
Public Sub InvalidateObjects (typeName As String)
Parameters
- typeName
- String
The data source–specific name of the type to invalidate.
Exceptions
The typeName
parameter is null.