Udostępnij przez


Metoda FacetRepository.IsPropertyConfigurable

Określa, czy określona właściwość zestaw.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Facets
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsPropertyConfigurable ( _
    managementFacet As Type, _
    propertyName As String _
) As Boolean
'Użycie
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

Parametry

  • managementFacet
    Typ: System.Type
    A Type wartość obiektu, który określa typ.
  • propertyName
    Typ: System.String
    A String wartość obiektu, który określa nazwę właściwość.

Wartość zwracana

Typ: System.Boolean
A Boolean wartość określająca, czy właściwość jest konfigurowalny.
Jeśli True, właściwość jest konfigurowana.W przeciwnym razie jest używana wartość False.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.