IsPropertyConfigurable 方法
Determines whether the specified property can be set.
命名空間: Microsoft.SqlServer.Management.Facets
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsPropertyConfigurable ( _
managementFacet As Type, _
propertyName As String _
) As Boolean
'用途
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
參數
- managementFacet
型別:System. . :: . .Type
A Type object value that specifies the type.
- propertyName
型別:System. . :: . .String
A String object value that specifies the name of the property.
傳回值
型別:System. . :: . .Boolean
A Boolean value that specifies whether the property is configurable.
If True, the property is configurable. Otherwise, False.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。