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 版本支持此命名空间、类或成员。