This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IA > IAISImageServerManager Interface > IAISImageServerManager.AddServiceProvider Method (ArcObjects .NET 10.4 SDK) |
Add a new image service provider using the specified friendly name on the specified host machine and port.
[Visual Basic .NET] Public Function AddServiceProvider ( _ ByVal ispName As String, _ ByVal ispHostMachine As String, _ ByVal ispHostPort As String _ ) As Boolean
[C#] public bool AddServiceProvider ( string ispName, string ispHostMachine, string ispHostPort );
[C++]
HRESULT AddServiceProvider(
BSTR ispName,
BSTR ispHostMachine,
BSTR ispHostPort,
VARIANT_BOOL* retStatus
);
[C++]
Parameters ispName [in] ispName is a parameter of type BSTR ispHostMachine [in] ispHostMachine is a parameter of type BSTR ispHostPort [in] ispHostPort is a parameter of type BSTR retStatus [out, retval] retStatus is a parameter of type VARIANT_BOOL