次の方法で共有


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.SharedService
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.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

  • isCached
    Type: System.Boolean

    true if the object is to be cached; otherwise, false.

  • isDefault
    Type: System.Boolean

    true if the object is the default; otherwise, false.

  • returnTypeDescriptorId
    Type: System.UInt32

    The return TypeDescriptoridentifier.

  • sourceEntityNames
    Type: []

    The array of source external content type names.

  • sourceEntityNamespaces
    Type: []

    The array of source external content type namespaces.

  • destinationEntityName
    Type: System.String

    The destination external content type name.

  • destinationEntityNamespace
    Type: System.String

    The destination external content type namespace.

  • associationGroupId
    Type: System.UInt32

    The AssociationGroup identifier.

  • partitionId
    Type: System.Guid

    The partition identifier.

See also

Reference

AssociationStruct class

AssociationStruct members

AssociationStruct overload

Microsoft.SharePoint.BusinessData.SharedService namespace