AssociationStruct - Constructeur (UInt32, String, Boolean, Int32, MethodInstanceType, Boolean, UInt32, UInt32, String[], String[], String, String, UInt32, Guid)
Initialise une nouvelle instance de la classe.
Espace de noms : Microsoft.SharePoint.BusinessData.Administration.Client
Assembly : Microsoft.SharePoint.BusinessData.Administration.Client (dans Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntaxe
'Déclaration
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 _
)
'Utilisation
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
)
Paramètres
id
Type : System.UInt32L'identificateur AssociationStruct .
name
Type : System.StringLe nom AssociationStruct .
isCached
Type : System.Booleantrue si la AssociationStruct doit être mis en cache ; dans le cas contraire, false.
version
Type : System.Int32La version AssociationStruct .
methodInstanceType
Type : Microsoft.BusinessData.MetadataModel.MethodInstanceTypeLe type MethodInstance .
isDefault
Type : System.Booleantrue si la AssociationStruct est la valeur par défaut ; dans le cas contraire, false.
methodId
Type : System.UInt32L'identificateur de méthode.
returnTypeDescriptorId
Type : System.UInt32L'identificateur retour TypeDescriptor .
sourceEntityNames
Type : []Tableau de noms de sources de type de contenu externe.
sourceEntityNamespaces
Type : []Le tableau des espaces de noms de type de contenu externe source.
destinationEntityName
Type : System.StringNom du type de contenu externe de destination.
destinationEntityNamespace
Type : System.StringL'espace de noms du type de contenu externe de destination.
associationGroupId
Type : System.UInt32L'identificateur AssociationGroup .
partitionId
Type : System.GuidL'identificateur de partition.
Voir aussi
Référence
Microsoft.SharePoint.BusinessData.Administration.Client - Espace de noms