UCC_ENDPOINT_TYPE Enumeration
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Enumerates the types of endpoints supported by this API.
Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)
Syntax
'Declaration
Public Enumeration UCC_ENDPOINT_TYPE
public enum UCC_ENDPOINT_TYPE
public enum class UCC_ENDPOINT_TYPE
public enum UCC_ENDPOINT_TYPE
public enum UCC_ENDPOINT_TYPE
Members
Member name | Description |
---|---|
UCCET_PRINCIPAL_SERVER_BASED | A flag to indicate that an endpoint is a principal SIP endpoint that is not a proxy endpoint representing a telephony device. |
UCCET_PROXY_TELEPHONY | A flag to indicate that an endpoint is a proxy endpoint representing a telephony device. |
Remarks
When an endpoint is created, the endpoint type must be specified using a field defined in this enumeration type.
Example
The following C# code snippet illustrates how to create a principal endpoint instance.
IUccPlatform platform = …;
IUccUriManager uriMgr = …;
string bstrSipUri = "sip:alice@contoso.com";
IUccUri uccSipUri = uriMgr.ParseUri(bstrSipUri);
IUccEndpoint endpoint = platform.CreateEndpoint(
UCC_ENDPOINT_TYPE.UCCET_PRINCIPAL_SERVER_BASED,
uccSipUri,
null,
Null);
The following C# code snippet illustrates how to create a proxy endpoint instance:
IUccPlatform platform = …;
IUccEndpoint sipEndpoint = …;
IUccUriManager uriMgr = …;
string proxyEndpointSipUri = "sip:AB32-LAB@PBXServer.Contoso.com";
UccUri proxyEndpointUri = uri.Mgr.ParseUri(proxyEndpointSipUri);
string proxyEndpointTelId = "tel:1234;phone-context=AB32-cdp.AB32-udp";
IUccEndpoint endpoint = platform.CreateProxyEndpoint(
UCC_ENDPOINT_TYPE.UCCET_PROXY_TELEPHONY,
sipEndpoint,
proxyEndpointUri,
proxyEndpointTelId,
null);
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
Microsoft.Office.Interop.UccApi Namespace
IUccPlatform.CreateEndpoint Method
IUccPlatform.CreateProxyEndpoint Method
Other Resources
Create a Principal Endpoint
Create and Enable a Proxy Endpoint