Share via


ModelComponentCollection.ChangeKey Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Changes the specified keys to the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Protected Friend Sub ChangeKey ( _
    oldKey As String, _
    newKey As String _
)
'Usage
Dim oldKey As String 
Dim newKey As String 

Me.ChangeKey(oldKey, newKey)
protected internal void ChangeKey(
    string oldKey,
    string newKey
)
protected public:
void ChangeKey(
    String^ oldKey, 
    String^ newKey
)
member ChangeKey : 
        oldKey:string * 
        newKey:string -> unit
function ChangeKey(
    oldKey : String, 
    newKey : String
)

Parameters

See Also

Reference

ModelComponentCollection Class

Microsoft.AnalysisServices Namespace