| Visual Basic (Declaration) | |
|---|---|
<XmlArrayItemAttribute("serviceKey")> <XmlArrayAttribute("serviceKeys")> <DescriptionAttribute("Application server address information - applicable to client but allowed on server.")> Public Property ServiceKeys As NamedElementCollection(Of ServiceKeyElement) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ObjectServerElement Dim value As NamedElementCollection(Of ServiceKeyElement) instance.ServiceKeys = value value = instance.ServiceKeys | |
| C# | |
|---|---|
[XmlArrayItemAttribute("serviceKey")] [XmlArrayAttribute("serviceKeys")] [DescriptionAttribute("Application server address information - applicable to client but allowed on server.")] public NamedElementCollection<ServiceKeyElement> ServiceKeys {get; set;} | |
| C++/CLI | |
|---|---|
[XmlArrayItemAttribute("serviceKey")] [XmlArrayAttribute("serviceKeys")] [DescriptionAttribute("Application server address information - applicable to client but allowed on server.")] public: property NamedElementCollection<ServiceKeyElement^>^ ServiceKeys { NamedElementCollection<ServiceKeyElement^>^ get(); void set ( NamedElementCollection<ServiceKeyElement^>^ value); } | |
Use ServiceKeys to define the address information to one or more application servers. A client application can specify the ServiceKey to be used when constructing an EntityManager.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family