SPField.SourceId property
Gets either the namespace that defines a built-in field or, if it a custom field, the GUID that identifies the list or Web site where it was created.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property SourceId As String
Get
'Usage
Dim instance As SPField
Dim value As String
value = instance.SourceId
public string SourceId { get; }
Property value
Type: System.String
A string that contains either a namespace path or a list GUID.