DigitalTwinsModelFactory.IncomingRelationship Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of IncomingRelationship.
public static Azure.DigitalTwins.Core.IncomingRelationship IncomingRelationship (string relationshipId = default, string sourceId = default, string relationshipName = default, string relationshipLink = default);
static member IncomingRelationship : string * string * string * string -> Azure.DigitalTwins.Core.IncomingRelationship
Public Shared Function IncomingRelationship (Optional relationshipId As String = Nothing, Optional sourceId As String = Nothing, Optional relationshipName As String = Nothing, Optional relationshipLink As String = Nothing) As IncomingRelationship
Parameters
- relationshipId
- String
A user-provided string representing the id of this relationship, unique in the context of the source digital twin, i.e. sourceId + relationshipId is unique in the context of the service.
- sourceId
- String
The id of the source digital twin.
- relationshipName
- String
The name of the relationship.
- relationshipLink
- String
Link to the relationship, to be used for deletion.
Returns
A new IncomingRelationship instance for mocking.