ModelElementClass.GetRelationshipClass Method
Returns the relationship that is defined by the provided name.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetRelationshipClass ( _
name As String _
) As ModelRelationshipClass
public ModelRelationshipClass GetRelationshipClass(
string name
)
public:
ModelRelationshipClass^ GetRelationshipClass(
String^ name
)
member GetRelationshipClass :
name:string -> ModelRelationshipClass
public function GetRelationshipClass(
name : String
) : ModelRelationshipClass
Parameters
- name
Type: System.String
The name of a relationship.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
The relationship that is defined by the name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.