ResourceAssociationSet 构造函数
创建 ResourceAssociationSet 类的新实例。
命名空间: System.Data.Services.Providers
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
Public Sub New ( _
name As String, _
end1 As ResourceAssociationSetEnd, _
end2 As ResourceAssociationSetEnd _
)
用法
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
)
参数
- name
类型:System.String
关联集的名称。
- end2
类型:System.Data.Services.Providers.ResourceAssociationSetEnd
在关联集目标端的 ResourceAssociationSetEnd。