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
namespace
Type: System.StringThe containing namespace.
name
Type: System.StringThe name of the referenced external content type.
catalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe Business Data Connectivity (BDC) service Metadata Store.
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