AssociationStruct Constructor (UInt32, String, Boolean, Int32, MethodInstanceType, Boolean, UInt32, UInt32, String[], String , String, String, UInt32, Guid)
Initializes a new instance of the class.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntax
'Declaration
Public Sub New ( _
id As UInteger, _
name As String, _
isCached As Boolean, _
version As Integer, _
methodInstanceType As MethodInstanceType, _
isDefault As Boolean, _
methodId As UInteger, _
returnTypeDescriptorId As UInteger, _
sourceEntityNames As String(), _
sourceEntityNamespaces As String(), _
destinationEntityName As String, _
destinationEntityNamespace As String, _
associationGroupId As UInteger, _
partitionId As Guid _
)
'Usage
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim version As Integer
Dim methodInstanceType As MethodInstanceType
Dim isDefault As Boolean
Dim methodId As UInteger
Dim returnTypeDescriptorId As UInteger
Dim sourceEntityNames As String()
Dim sourceEntityNamespaces As String()
Dim destinationEntityName As String
Dim destinationEntityNamespace As String
Dim associationGroupId As UInteger
Dim partitionId As Guid
Dim instance As New AssociationStruct(id, name, _
isCached, version, methodInstanceType, _
isDefault, methodId, returnTypeDescriptorId, _
sourceEntityNames, sourceEntityNamespaces, _
destinationEntityName, destinationEntityNamespace, _
associationGroupId, partitionId)
public AssociationStruct(
uint id,
string name,
bool isCached,
int version,
MethodInstanceType methodInstanceType,
bool isDefault,
uint methodId,
uint returnTypeDescriptorId,
string[] sourceEntityNames,
string[] sourceEntityNamespaces,
string destinationEntityName,
string destinationEntityNamespace,
uint associationGroupId,
Guid partitionId
)
Parameters
id
Type: System.UInt32The AssociationStruct identifier.
name
Type: System.StringThe AssociationStruct name.
isCached
Type: System.Booleantrue if the AssociationStruct is to be cached; otherwise, false.
version
Type: System.Int32The AssociationStruct version.
methodInstanceType
Type: Microsoft.BusinessData.MetadataModel.MethodInstanceTypeThe MethodInstance type.
isDefault
Type: System.Booleantrue if the AssociationStruct is the default; otherwise, false.
methodId
Type: System.UInt32The method identifier.
returnTypeDescriptorId
Type: System.UInt32The return TypeDescriptor identifier.
sourceEntityNames
Type: []The array of source external content type names.
sourceEntityNamespaces
Type: []The array of source external content type namespaces.
destinationEntityName
Type: System.StringThe destination external content type name.
destinationEntityNamespace
Type: System.StringThe destination external content type namespace.
associationGroupId
Type: System.UInt32The AssociationGroup identifier.
partitionId
Type: System.GuidThe partition identifier.
See Also
Reference
Microsoft.SharePoint.BusinessData.Administration.Client Namespace