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
關聯集的名稱。
- end1
型別:System.Data.Services.Providers.ResourceAssociationSetEnd
位於關聯集之來源末端的 ResourceAssociationSetEnd。
- end2
型別:System.Data.Services.Providers.ResourceAssociationSetEnd
位於關聯集之目標末端的 ResourceAssociationSetEnd。