다음을 통해 공유


IVsDataObjectStore.InvalidateObjects 메서드 (String, array<Object )

지정 된 형식과 개체 저장소 캐시에서 검색 하는 대신 향후 요청에 대해 데이터 소스에서 선택한 데이터 개체를 강제로 제한에 해당 하는 데이터 개체를 무효화 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
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[]
)

매개 변수

  • typeName
    형식: System.String
    무효화 형식의 데이터 소스 이름입니다.
  • restrictions
    형식: array<System.Object[]
    무효화에 지정 된 형식과 관련 된 제한 사항을 포함 하는 배열입니다.

예외

예외 조건
ArgumentNullException

typeName 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IVsDataObjectStore 인터페이스

InvalidateObjects 오버로드

Microsoft.VisualStudio.Data.Services 네임스페이스