ArcGIS Runtime SDK for WPF - Library Reference
CreateSDEConnection(String,String) Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > WorkspaceInfo Class > CreateSDEConnection Method : CreateSDEConnection(String,String) Method

workspaceID
A System.String representing a unique identifier for this workspace.
connectionString
The ArcSDE connection string.
Creates a WorkspaceInfo object of WorkspaceFactoryType SDE based on the provided unique identifier and connection string.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function CreateSDEConnection( _
   ByVal workspaceID As String, _
   ByVal connectionString As String _
) As WorkspaceInfo
C# 
public static WorkspaceInfo CreateSDEConnection( 
   string workspaceID,
   string connectionString
)

Parameters

workspaceID
A System.String representing a unique identifier for this workspace.
connectionString
The ArcSDE connection string.

Return Value

A WorkspaceInfo of WorkspaceFactoryType SDE.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.