ESRI.ArcGIS.ADF.Web.DataSources
AddUnique(String,String,Identity) Method
See Also 
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 Identity _
) 
Visual Basic (Usage)Copy Code
Dim instance As DataSourceInfoCollection
Dim dataSourceType As String
Dim dataSourceDefinition As String
Dim identity As Identity
 
instance.AddUnique(dataSourceType, dataSourceDefinition, identity)
C# 
public void AddUnique( 
   string dataSourceType,
   string dataSourceDefinition,
   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

See Also

© 2010 All Rights Reserved.