Partilhar via


EntityReference Constructor

Initializes an instance of the class.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    namespace As String, _
    name As String, _
    catalog As AdministrationMetadataCatalog _
)
'Usage
Dim namespace As String
Dim name As String
Dim catalog As AdministrationMetadataCatalog

Dim instance As New EntityReference(namespace, _
    name, catalog)
public EntityReference(
    string namespace,
    string name,
    AdministrationMetadataCatalog catalog
)

Parameters

  • name
    Type: System.String

    The name of the referenced external content type.

Exceptions

Exception Condition
ArgumentNullException

If any parameter is a null reference (Nothing in Visual Basic).

Examples

Code Snippet: Create an External Content Type Using the Administration Object Model

See Also

Reference

EntityReference Class

EntityReference Members

Microsoft.SharePoint.BusinessData.Administration Namespace