ResourceAssociationSet Constructor
Initializes a new instance of the ResourceAssociationSet class.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
end1 As ResourceAssociationSetEnd, _
end2 As ResourceAssociationSetEnd _
)
'Usage
Dim name As String
Dim end1 As ResourceAssociationSetEnd
Dim end2 As ResourceAssociationSetEnd
Dim instance As New ResourceAssociationSet(name, end1, _
end2)
public ResourceAssociationSet(
string name,
ResourceAssociationSetEnd end1,
ResourceAssociationSetEnd end2
)
public:
ResourceAssociationSet(
String^ name,
ResourceAssociationSetEnd^ end1,
ResourceAssociationSetEnd^ end2
)
new :
name:string *
end1:ResourceAssociationSetEnd *
end2:ResourceAssociationSetEnd -> ResourceAssociationSet
public function ResourceAssociationSet(
name : String,
end1 : ResourceAssociationSetEnd,
end2 : ResourceAssociationSetEnd
)
Parameters
- name
Type: System.String
Name of the association set.
- end1
Type: System.Data.Services.Providers.ResourceAssociationSetEnd
ResourceAssociationSetEnd that is at the source end of the association set.
- end2
Type: System.Data.Services.Providers.ResourceAssociationSetEnd
ResourceAssociationSetEnd that is at the target end of the association set.