Share via


ConnectorFrameworkProxy.GetGlobalConfiguration Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the global configuration settings for the Management Group.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ConnectorFrameworkProxy
Dim returnValue As ConnectorGlobalConfiguration

returnValue = instance.GetGlobalConfiguration

Syntax

'Declaration
Public Function GetGlobalConfiguration As ConnectorGlobalConfiguration
public ConnectorGlobalConfiguration GetGlobalConfiguration ()
public:
ConnectorGlobalConfiguration^ GetGlobalConfiguration ()
public ConnectorGlobalConfiguration GetGlobalConfiguration ()
public function GetGlobalConfiguration () : ConnectorGlobalConfiguration

Return Value

Returns the ConnectorGlobalConfiguration object that contains the global configuration settings.

Example

using System;
using Microsoft.EnterpriseManagement.ConnectorFramework;



namespace ConnectorSample
{
    class Program
    {
        static void Main(string[] args)
        {
             // Create a new Proxy
            Uri proxyUri = new Uri("https://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 Vista, Windows Server 2003, and

Target Platforms

Change History

See Also

Reference

ConnectorFrameworkProxy Class
ConnectorFrameworkProxy Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace