Connects to the management provider by using the specified server
path.
Namespace:
Microsoft.ConfigurationManagement.ManagementProvider
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim instance As ConnectionManagerBase
Dim configMgrServerPath As String
Dim returnValue As Boolean
returnValue = instance.Connect(configMgrServerPath)
|
Syntax
Visual Basic |
Public MustOverride Function Connect ( _
configMgrServerPath As String _
) As Boolean
|
C# |
public abstract bool Connect (
string configMgrServerPath
)
|
C++ |
public:
virtual bool Connect (
String^ configMgrServerPath
) abstract
|
J# |
public abstract boolean Connect (
String configMgrServerPath
)
|
JScript |
public abstract function Connect (
configMgrServerPath : String
) : boolean
|
Parameters
- configMgrServerPath
-
[in] Path to the Configuration Manager server.
Return Value
true if the connection is successful; otherwise
false.
Remarks
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also