SnmpCommunity.GetProfile(String, ManagementPack) Method

Definition

Get RunAs profile by name

protected:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackSecureReference ^ GetProfile(System::String ^ profileName, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ targetMP);
protected Microsoft.EnterpriseManagement.Configuration.ManagementPackSecureReference GetProfile (string profileName, Microsoft.EnterpriseManagement.Configuration.ManagementPack targetMP);
member this.GetProfile : string * Microsoft.EnterpriseManagement.Configuration.ManagementPack -> Microsoft.EnterpriseManagement.Configuration.ManagementPackSecureReference
Protected Function GetProfile (profileName As String, targetMP As ManagementPack) As ManagementPackSecureReference

Parameters

profileName
String

the profile name

targetMP
ManagementPack

target mp

Returns

ManagementPackSecureReference

the profile or null

Applies to