IdeaBlade DevForce 2010 Help Reference
ServiceName Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > LoggingElement Class : ServiceName Property



Gets or sets the name for the Trace Publisher Service - will default to 'TracePublisher' if not specified.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<XmlAttributeAttribute("serviceName")>
<DescriptionAttribute("Name for the Trace Publisher Service - will default if not specified")>
Public Property ServiceName As String
Visual Basic (Usage)Copy Code
Dim instance As LoggingElement
Dim value As String
 
instance.ServiceName = value
 
value = instance.ServiceName
C# 
[DefaultValueAttribute()]
[XmlAttributeAttribute("serviceName")]
[DescriptionAttribute("Name for the Trace Publisher Service - will default if not specified")]
public string ServiceName {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[XmlAttributeAttribute("serviceName")]
[DescriptionAttribute("Name for the Trace Publisher Service - will default if not specified")]
public:
property String^ ServiceName {
   String^ get();
   void set (    String^ value);
}

Remarks

See the IdeaBlade.Core.TracePublisher for more information.

Requirements

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

See Also

© 2013 All Rights Reserved.