Condividi tramite


Metodo RelationshipCollection.Insert (Int32, String)

Inserts a relationship with the specified identifier, into the collection at the specified index.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Insert ( _
    index As Integer, _
    id As String _
) As Relationship
'Utilizzo
Dim instance As RelationshipCollection 
Dim index As Integer 
Dim id As String 
Dim returnValue As Relationship 

returnValue = instance.Insert(index, id)
public Relationship Insert(
    int index,
    string id
)
public:
Relationship^ Insert(
    int index, 
    String^ id
)
member Insert : 
        index:int * 
        id:string -> Relationship
public function Insert(
    index : int, 
    id : String
) : Relationship

Parametri

  • id
    Tipo: System.String
    The identifier of the relationship to insert.

Valore restituito

Tipo: Microsoft.AnalysisServices.Relationship
The inserted relationship.

Vedere anche

Riferimento

RelationshipCollection Classe

Overload Insert

Spazio dei nomi Microsoft.AnalysisServices