This document is archived and information here might be outdated. Recommended version. |
The connection properties of the AGSServerConnectionName.
[Visual Basic .NET] Public Property ConnectionProperties As IPropertySet
[C#] public IPropertySet ConnectionProperties {get; set;}
[C++]
HRESULT get_ConnectionProperties(
IPropertySet* ppConnProps
);
[C++]
HRESULT put_ConnectionProperties(
IPropertySet** ppConnProps
);
[C++] Parameters ppConnProps [in]
ppConnProps is a parameter of type IPropertySet* ppConnProps [out, retval]
ppConnProps is a parameter of type IPropertySet**
The connection properties required in the property set depend on whether you are creating an AGSServerConnectionName which represents a direct connection to a GIS server over a LAN, or if it represetns a connection to a web service catalog. When connecting to a GIS server over the LAN, you need to set the machine property to be the name of the GIS server machine. When connecting to a web service catalog, you need to set the url property to the url of the web service catalog.
If the web service catalog you are connecting to is secure and requires a username and password, include them in the property set as the user and password properties, respectivly.