This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.Create Method (ArcObjects .NET 10.5 SDK) |
Creates a new workspace specified by the directory, file name, and connection properties.
[Visual Basic .NET] Public Function Create ( _ ByVal parentDirectory As String, _ ByVal Name As String, _ ByVal ConnectionProperties As IPropertySet, _ ByVal hWnd As Integer _ ) As IWorkspaceName
[C#] public IWorkspaceName Create ( string parentDirectory, string Name, IPropertySet ConnectionProperties, int hWnd );
[C++]
HRESULT Create(
BSTR parentDirectory,
BSTR Name,
IPropertySet* ConnectionProperties,
long hWnd,
IWorkspaceName** WorkspaceName
);
[C++]
Parameters parentDirectory [in] parentDirectory is a parameter of type BSTR Name [in] Name is a parameter of type BSTR ConnectionProperties [in]
ConnectionProperties is a parameter of type IPropertySet hWnd [in] hWnd is a parameter of type long WorkspaceName [out, retval]
WorkspaceName is a parameter of type IWorkspaceName