Поделиться через


Settings.GetDefaultValue Method (Setting)

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

Gets a default setting value of type DateTime.

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

Usage

'Usage
Dim instance As Settings
Dim setting As Setting(Of DateTime)
Dim returnValue As DateTime

returnValue = instance.GetDefaultValue(setting)

Syntax

'Declaration
Public Function GetDefaultValue ( _
    setting As Setting(Of DateTime) _
) As DateTime
public DateTime GetDefaultValue (
    Setting<DateTime> setting
)
public:
DateTime GetDefaultValue (
    Setting<DateTime>^ setting
)
public DateTime GetDefaultValue (
    Setting<DateTime> setting
)
public function GetDefaultValue (
    setting : Setting<DateTime>
) : DateTime

Parameters

  • setting
    The default setting value of type DateTime to return.

Return Value

Returns a default setting value of type DateTime.

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