격리된 저장소와 로밍

업데이트: 2007년 11월

로밍 사용자 프로필은 사용자가 네트워크에서 ID를 설정하고 이 ID로 네트워크 컴퓨터에 로그인하여 모든 개인 설정을 전달할 수 있도록 하는 Microsoft Windows 기능이며, 업데이트된 일부 Windows 98 시스템, Windows NT, Windows 2000, Windows XP 및 Windows Vista에서 사용할 수 있습니다. 격리된 저장소를 사용하는 어셈블리는 사용자의 격리된 저장소를 로밍 사용자 프로필과 함께 이동하도록 지정할 수 있습니다. 로밍은 사용자 및 어셈블리별 격리 또는 사용자, 도메인 및 어셈블리별 격리와 함께 사용할 수 있습니다. 로밍 범위가 사용되지 않으면 로밍 사용자 프로필이 사용되더라도 저장소를 로밍하지 않습니다.

예제

다음 코드 예제에서는 사용자 및 어셈블리별로 격리된 로밍 저장소를 검색합니다. isoFile 개체를 통해 저장소에 액세스할 수 있습니다.

Dim isoStore As IsolatedStorageFile
isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or IsolatedStorageScope.Assembly Or IsolatedStorageScope.Roaming, Nothing, Nothing)
IsolatedStorageFile isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly | IsolatedStorageScope.Roaming, null, null);

도메인 범위를 추가하여 사용자, 도메인 및 응용 프로그램별로 격리된 로밍 저장소를 만들 수 있습니다. 다음 코드 예제에서 이를 보여 줍니다.

Dim isoStore As IsolatedStorageFile
isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.User Or IsolatedStorageScope.Assembly Or IsolatedStorageScope.Domain Or IsolatedStorageScope.Roaming, Nothing, Nothing)
IsolatedStorageFile isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly | IsolatedStorageScope.Domain | IsolatedStorageScope.Roaming, null, null);

참고 항목

개념

격리 유형

사용자 및 어셈블리별 격리

사용자, 도메인 및 어셈블리별 격리

기타 리소스

격리된 저장소 작업 수행