Share via


FacetRepository.IsPropertyConfigurable Method

Determines whether the specified property can be set.

Namespace:  Microsoft.SqlServer.Management.Facets
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsPropertyConfigurable ( _
    managementFacet As Type, _
    propertyName As String _
) As Boolean
'Usage
Dim managementFacet As Type
Dim propertyName As String
Dim returnValue As Boolean

returnValue = FacetRepository.IsPropertyConfigurable(managementFacet, _
    propertyName)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static bool IsPropertyConfigurable(
    Type managementFacet,
    string propertyName
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static bool IsPropertyConfigurable(
    Type^ managementFacet, 
    String^ propertyName
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member IsPropertyConfigurable : 
        managementFacet:Type * 
        propertyName:string -> bool 
public static function IsPropertyConfigurable(
    managementFacet : Type, 
    propertyName : String
) : boolean

Parameters

  • managementFacet
    Type: System.Type
    A Type object value that specifies the type.
  • propertyName
    Type: System.String
    A String object value that specifies the name of the property.

Return Value

Type: System.Boolean
A Boolean value that specifies whether the property is configurable.
If True, the property is configurable. Otherwise, False.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.