|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IS > IServiceUploadsClient Interface > IServiceUploadsClient.GetServiceMaxUploadSizeInBytes Method (ArcObjects .NET 10.5 SDK) | 
Returns the maximum upload size for a service.
[Visual Basic .NET] Public Function GetServiceMaxUploadSizeInBytes ( _ ByVal pTargetSevice As IAGSServerObjectName _ ) As Long
[C#] public ulong GetServiceMaxUploadSizeInBytes ( IAGSServerObjectName pTargetSevice );
[C++]
HRESULT GetServiceMaxUploadSizeInBytes(
  IAGSServerObjectName* pTargetSevice,
  Unsigned 64-bit int* pMaxSize
);
[C++]
Parameters pTargetSevice [in]
pTargetSevice is a parameter of type IAGSServerObjectName pMaxSize [out, retval] pMaxSize is a parameter of type Unsigned 64-bit int