ServiceInstanceExists Method
See Also 
SourceCode.SmartObjects.Management Namespace > SmartObjectManagementServer Class : ServiceInstanceExists Method



serviceInstanceName

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function ServiceInstanceExists( _
   ByVal serviceInstanceName As String _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As SmartObjectManagementServer
Dim serviceInstanceName As String
Dim value As Boolean
 
value = instance.ServiceInstanceExists(serviceInstanceName)
C#  
public bool ServiceInstanceExists( 
   string serviceInstanceName
)
C++/CLI  
public:
bool ServiceInstanceExists( 
   String^ serviceInstanceName
) 

Parameters

serviceInstanceName

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