Share via


IVsDataObjectIdentifierResolver.ExpandIdentifier Method

When implemented by a class, expands an identifier for a data object with the specified type and partial identifier.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function ExpandIdentifier ( _
    typeName As String, _
    partialIdentifier As Object() _
) As Object()
Object[] ExpandIdentifier(
    string typeName,
    Object[] partialIdentifier
)
array<Object^>^ ExpandIdentifier(
    String^ typeName, 
    array<Object^>^ partialIdentifier
)
abstract ExpandIdentifier : 
        typeName:string * 
        partialIdentifier:Object[] -> Object[] 
function ExpandIdentifier(
    typeName : String, 
    partialIdentifier : Object[]
) : Object[]

Parameters

  • typeName
    Type: System.String

    The name of a type of data object.

  • partialIdentifier
    Type: array<System.Object[]

    A partial identifier of a data object.

Return Value

Type: array<System.Object[]
The complete, expanded identifier of the data object that matches the partial identifier passed in, or nulla null reference (Nothing in Visual Basic) if the identifier could not be expanded.

Remarks

Implement this method to simulate how the data source expands identifiers. It is expected that the method will use the same mechanism of resolution as the data source. If the input identifier represents an actual object on the data source, it is expected that this method will find that object. If it does not represent an object (that is, if it is an identifier of a to-be-created object), it is expected that the method will complete the identifier in the same way that the data source would for such an object. For example, if a data source resolves authors in CREATE TABLE authors to pubs.dbo.authors, this method should do the same.

.NET Framework Security

See Also

Reference

IVsDataObjectIdentifierResolver Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace