ManagementGroup.GetTrustedDomains Method

Updated: April 16, 2012

Retrieves a collection of all trusted domains. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementGroup Dim returnValue As ReadOnlyCollection(Of String) returnValue = instance.GetTrustedDomainsPublic Function GetTrustedDomains As ReadOnlyCollection(Of String)public ReadOnlyCollection<string> GetTrustedDomains ()public: ReadOnlyCollection<String^>^ GetTrustedDomains ()public ReadOnlyCollection<String> GetTrustedDomains ()public function GetTrustedDomains () : ReadOnlyCollection<String>Return ValueReturns a ReadOnlyCollection of strings that contain the trusted domains.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms