ServiceID Property
See Also 
SourceCode.EventBus.Management Namespace > LogCustomEventInstance Class : ServiceID Property



Glossary Item Box

Gets or sets the service identifier.

Syntax

Visual Basic (Declaration) 
Public Property ServiceID As Integer
Visual Basic (Usage)Copy Code
Dim instance As LogCustomEventInstance
Dim value As Integer
 
instance.ServiceID = value
 
value = instance.ServiceID
C# 
public int ServiceID {get; set;}
C++/CLI 
public:
property int ServiceID {
   int get();
   void set (    int value);
}

Property Value

The service identifier.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also