Partager via


FieldLookup.LookupWebId - Propriété

Gets or sets a value that specifies the GUID that identifies the site containing the list which contains the field used as the lookup values.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property LookupWebId As Guid
    Get
    Set
'Utilisation
Dim instance As FieldLookup
Dim value As Guid

value = instance.LookupWebId

instance.LookupWebId = value
public Guid LookupWebId { get; set; }

Valeur de propriété

Type : System.Guid
Returns a Guid instance representing the GUID that identifies the site containing the list which contains the field used as the lookup values.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

The server does not allow properties of the field to be changed. Error code: -2146232832.

[System.NotSupportedException]

When the property is read only and the list that this field belongs to is an external list. Error code: -1.

Remarques

You must have BasePermissions.Open permissions to set this property.

Voir aussi

Référence

FieldLookup classe

FieldLookup - Membres

Microsoft.SharePoint.Client - Espace de noms