Class AGSServerConnectionNameClass
[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
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
ConnectionType
The type of the associated GIS server connection.
virtual esriAGSConnectionType ConnectionType { get; }
Returns
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
pClassIDGuid
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
IAGSServerConnectionName2_ConnectionProperties
virtual IPropertySet IAGSServerConnectionName2_ConnectionProperties { get; set; }
Returns
IAGSServerConnectionName2_ConnectionType
virtual esriAGSConnectionType IAGSServerConnectionName2_ConnectionType { get; }
Returns
IsDirty()
virtual void IsDirty()
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
NameString
The name string of the object.
virtual string NameString { get; set; }
Returns
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
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
ServerConnectionFactoryProgID
The programmatic ID of the server connection factory.
virtual string ServerConnectionFactoryProgID { get; set; }