다음을 통해 공유


IProfileService.SetAttribute 메서드 (TeamFoundationRequestContext, Guid, ProfileAttribute)

조건에 따라 프로 파일에서 특성을 설정합니다.

네임스페이스:  Microsoft.VisualStudio.Services.Profile
어셈블리:  Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)

구문

‘선언
Function SetAttribute ( _
    requestContext As TeamFoundationRequestContext, _
    identityId As Guid, _
    attribute As ProfileAttribute _
) As Integer
int SetAttribute(
    TeamFoundationRequestContext requestContext,
    Guid identityId,
    ProfileAttribute attribute
)

매개 변수

반환 값

형식: System.Int32
업데이트 된 특성의 변경 내용

설명

특성이 없는 경우 다음 새 특성을 특성 집합에 추가 됩니다. 특성 업데이트 수정 버전을 전달 하는 경우에 다음 경우 attribute 기존 특성 수정을 찾습니다.

.NET Framework 보안

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

참고 항목

참조

IProfileService 인터페이스

SetAttribute 오버로드

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