ESRI.ArcGIS.DataManagementTools
SharePackage Constructor(Object,String,Object,String,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > SharePackage Class > SharePackage Constructor : SharePackage Constructor(Object,String,Object,String,String)




in_package
Input layer (.lpk) or map (.mpk) package file. (In, Required)
username
ESRI global account user name. (In, Required)
password
ESRI global account password. (In, Required)
summary
Summary of package. The summary is displayed in the item information of the package on ArcGIS.com. (In, Required)
tags
Tags used to describe and identify the package. Individual tags are separated using either a comma or semicolon. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_package As Object, _
   ByVal username As String, _
   ByVal password As Object, _
   ByVal summary As String, _
   ByVal tags As String _
)
Visual Basic (Usage)Copy Code
Dim in_package As Object
Dim username As String
Dim password As Object
Dim summary As String
Dim tags As String
 
Dim instance As SharePackage(in_package, username, password, summary, tags)
C# 
public SharePackage( 
   object in_package,
   string username,
   object password,
   string summary,
   string tags
)

Parameters

in_package
Input layer (.lpk) or map (.mpk) package file. (In, Required)
username
ESRI global account user name. (In, Required)
password
ESRI global account password. (In, Required)
summary
Summary of package. The summary is displayed in the item information of the package on ArcGIS.com. (In, Required)
tags
Tags used to describe and identify the package. Individual tags are separated using either a comma or semicolon. (In, Required)

See Also

© 2010 All Rights Reserved.