Freigeben über


FacetRepository.IsPropertyConfigurable-Methode

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

Parameter

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

Rückgabewert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

FacetRepository Klasse

Microsoft.SqlServer.Management.Facets-Namespace