Settings.GetInstanceValue Method (Setting, MonitoringObject)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets the specified Guid setting value for the specified MonitoringObject instance.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As Settings
Dim setting As Setting(Of Guid)
Dim instance As MonitoringObject
Dim returnValue As Guid
returnValue = instance.GetInstanceValue(setting, instance)
Syntax
'Declaration
Public Function GetInstanceValue ( _
setting As Setting(Of Guid), _
instance As MonitoringObject _
) As Guid
public Guid GetInstanceValue (
Setting<Guid> setting,
MonitoringObject instance
)
public:
Guid GetInstanceValue (
Setting<Guid>^ setting,
MonitoringObject^ instance
)
public Guid GetInstanceValue (
Setting<Guid> setting,
MonitoringObject instance
)
public function GetInstanceValue (
setting : Setting<Guid>,
instance : MonitoringObject
) : Guid
Parameters
- setting
The Guidsetting value to return for the MonitoringObject instance.
- instance
The MonitoringObjectinstance to get the setting value for.
Return Value
Returns Guid thesetting value for the specified MonitoringObject instance.
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
See Also
Reference
Settings Class
Settings Members
Microsoft.EnterpriseManagement.Administration Namespace