IVsDataObjectIdentifierResolver.ContractIdentifier 메서드
클래스에서 구현 되는 경우 지정 된 형식의 데이터 개체에 대 한 식별자 및 완전 한 식별자를 축소 합니다.
네임스페이스: Microsoft.VisualStudio.Data.Services.SupportEntities
어셈블리: Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)
구문
‘선언
Function ContractIdentifier ( _
typeName As String, _
fullIdentifier As Object() _
) As Object()
Object[] ContractIdentifier(
string typeName,
Object[] fullIdentifier
)
array<Object^>^ ContractIdentifier(
String^ typeName,
array<Object^>^ fullIdentifier
)
abstract ContractIdentifier :
typeName:string *
fullIdentifier:Object[] -> Object[]
function ContractIdentifier(
typeName : String,
fullIdentifier : Object[]
) : Object[]
매개 변수
- typeName
형식: System.String
데이터 개체의 형식 이름입니다.
- fullIdentifier
형식: array<System.Object[]
데이터 개체의 전체 식별자입니다.
반환 값
형식: array<System.Object[]
데이터 개체에 대 한 부분, 계약 된 고유 식별자입니다.
설명
전체 식별자를 사용 하 여 개체를 여전히 고유 하 게 식별 하는 가장 짧은 가능한 식별자 변환 하려면이 메서드를 구현 합니다.예를 들어, 인스턴스를 SQL Server 사용자 dbo 데이터베이스 pubs 전체 식별자로 연결 되어 있는 경우 pubs.dbo.authors 단순한 형태에 계약 수 authors.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.