ArcGIS Runtime SDK for WPF - Library Reference
CreateFileGeoDatabaseConnection Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > WorkspaceInfo Class : CreateFileGeoDatabaseConnection Method

workspaceID
A System.String representing a unique identifier for this workspace.
pathToFolder
A System.String representing the path to the file geodatabase folder (.gdb).
Creates a WorkspaceInfo object of WorkspaceFactoryType FileGDB based on the provided unique identifier and path to the file geodatabase folder (.gdb).

Syntax

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

Parameters

workspaceID
A System.String representing a unique identifier for this workspace.
pathToFolder
A System.String representing the path to the file geodatabase folder (.gdb).

Return Value

A WorkspaceInfo of WorkspaceFactoryType FileGDB.

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.