ESRI.ArcGIS.ADF.Web.DataSources
AddUnique(String,String,Identity) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources Namespace > DataSourceInfoCollection Class > AddUnique Method : AddUnique(String,String,Identity) Method




dataSourceType
The type of the datasource endpoint
dataSourceDefinition
The definition string for this datasource endpoint.
identity
The identity for this datasource endpoint
Adds a dataSource to the list after ensuring that one is not already found.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddUnique( _
   ByVal dataSourceType As String, _
   ByVal dataSourceDefinition As String, _
   ByVal identity As ESRI.ArcGIS.ADF.Identity _
) 
Visual Basic (Usage)Copy Code
Dim instance As DataSourceInfoCollection
Dim dataSourceType As String
Dim dataSourceDefinition As String
Dim identity As ESRI.ArcGIS.ADF.Identity
 
instance.AddUnique(dataSourceType, dataSourceDefinition, identity)
C# 
public void AddUnique( 
   string dataSourceType,
   string dataSourceDefinition,
   ESRI.ArcGIS.ADF.Identity identity
)

Parameters

dataSourceType
The type of the datasource endpoint
dataSourceDefinition
The definition string for this datasource endpoint.
identity
The identity for this datasource endpoint

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.