ManagementPack.GetElementId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ID of an element by name.
public:
Guid GetElementId(System::String ^ elementName);
public Guid GetElementId (string elementName);
member this.GetElementId : string -> Guid
Public Function GetElementId (elementName As String) As Guid
Parameters
- elementName
- String
The name of the element.
Returns
The named element ID.