Condividi tramite


Metodo IVsDataObjectStore.InvalidateObjects (String, array<Object )

Invalida gli oggetti dati che corrispondono al tipo e alle limitazioni specificate, imporre gli oggetti dati da selezionare dall'origine dati per le successive richieste, anziché di recuperarle dalla cache dell'oggetto.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Sintassi

'Dichiarazione
Sub InvalidateObjects ( _
    typeName As String, _
    restrictions As Object() _
)
void InvalidateObjects(
    string typeName,
    Object[] restrictions
)
void InvalidateObjects(
    String^ typeName, 
    array<Object^>^ restrictions
)
abstract InvalidateObjects : 
        typeName:string * 
        restrictions:Object[] -> unit 
function InvalidateObjects(
    typeName : String, 
    restrictions : Object[]
)

Parametri

  • typeName
    Tipo: System.String
    Il nome dell'origine specifico di dati da invalidare.
  • restrictions
    Tipo: array<System.Object[]
    Una matrice contenente le restrizioni associate al tipo specificato per invalidare.

Eccezioni

Eccezione Condizione
ArgumentNullException

Il parametro typeName è nullriferimento null (Nothing in Visual Basic).

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDataObjectStore Interfaccia

Overload InvalidateObjects

Spazio dei nomi Microsoft.VisualStudio.Data.Services