Class AGSServerConnectionNameClass

Namespace
ESRI.ArcGIS.GISClient
Assembly
ESRI.Server.GISClient.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("CBA35C3F-EDEF-408F-8B51-510784C78EB9")]
public class AGSServerConnectionNameClass : AGSServerConnectionName, IAGSServerConnectionName2, IAGSServerConnectionName, IName, IPersistStream, IPersist
Inheritance
AGSServerConnectionNameClass
Implements
Inherited Members

Constructors

AGSServerConnectionNameClass()

public AGSServerConnectionNameClass()

Explicit Interface Implementations

ConnectionProperties

The connection properties of the AGSServerConnectionName.

virtual IPropertySet ConnectionProperties { get; set; }

Returns

IPropertySet

Remarks

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.

ConnectionString

The connection properties of the GIS server connection.

virtual string ConnectionString { get; set; }

Returns

string

ConnectionType

The type of the associated GIS server connection.

virtual esriAGSConnectionType ConnectionType { get; }

Returns

esriAGSConnectionType

Remarks

The ConnectionType property will return the type of connection based on the property above. The connection types are described by esriAGSConnectionType whose values are esriAGSConnectionTypeLAN and esriAGSConnectionTypeInternet.

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IAGSServerConnectionName2_ConnectionProperties

virtual IPropertySet IAGSServerConnectionName2_ConnectionProperties { get; set; }

Returns

IPropertySet

IAGSServerConnectionName2_ConnectionType

virtual esriAGSConnectionType IAGSServerConnectionName2_ConnectionType { get; }

Returns

esriAGSConnectionType

IsDirty()

virtual void IsDirty()

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

NameString

The name string of the object.

virtual string NameString { get; set; }

Returns

string

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Open()

Opens the object referred to by this name.

virtual object Open()

Returns

object

Remarks

The Open method lets you instantiate the actual object given the name object.

Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

ServerConnectionFactoryProgID

The programmatic ID of the server connection factory.

virtual string ServerConnectionFactoryProgID { get; set; }

Returns

string