Constructeur ResourceAssociationSet
Crée une instance de la classe ResourceAssociationSet.
Espace de noms : System.Data.Services.Providers
Assembly : Microsoft.Data.Services (en Microsoft.Data.Services.dll)
Syntaxe
'Déclaration
Public Sub New ( _
name As String, _
end1 As ResourceAssociationSetEnd, _
end2 As ResourceAssociationSetEnd _
)
'Utilisation
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
)
Paramètres
- name
Type : System.String
Nom de l'ensemble d'associations.
- end1
Type : System.Data.Services.Providers.ResourceAssociationSetEnd
ResourceAssociationSetEnd qui se situe à la terminaison source de l'ensemble d'associations.
- end2
Type : System.Data.Services.Providers.ResourceAssociationSetEnd
ResourceAssociationSetEnd qui se situe à la terminaison cible de l'ensemble d'associations.