Gets the global configuration settings for the Management Group.
Namespace:
Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Syntax
Example
C# |
Copy Code |
using System;
using System.Collections.ObjectModel;
using System.Text;
using Microsoft.EnterpriseManagement;
using Microsoft.EnterpriseManagement.Monitoring;
using Microsoft.EnterpriseManagement.ConnectorFramework;
using Microsoft.EnterpriseManagement.Common;
using Microsoft.EnterpriseManagement.Configuration;
using Microsoft.EnterpriseManagement.Configuration.IO;
namespace ConnectorSample
{
class Program
{
static void Main(string[] args)
{
// Create a new Proxy
Uri proxyUri = new Uri("http://localhost:51905/ConnectorFramework");
ConnectorFrameworkProxy cfProxy = new ConnectorFrameworkProxy(proxyUri);
// Get and display the Connector global configuration
ConnectorGlobalConfiguration connector_config = cfProxy.GetGlobalConfiguration();
Console.WriteLine("Management Group Name: " + connector_config.Name);
Console.WriteLine("Management Group Identifier: " + connector_config.Id);
}
}
}
|
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 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also