NonRetrievablePropertyException 构造函数 (String)

Initializes a new instance of the NonRetrievablePropertyException class that has the specified message text.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub New ( _
    propertyName As String _
)
用法
Dim propertyName As String 

Dim instance As New NonRetrievablePropertyException(propertyName)
public NonRetrievablePropertyException(
    string propertyName
)
public:
NonRetrievablePropertyException(
    String^ propertyName
)
new : 
        propertyName:string -> NonRetrievablePropertyException
public function NonRetrievablePropertyException(
    propertyName : String
)

参数

  • propertyName
    类型:System.String
    A String value that specifies the property that cannot be retrieved.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 异常

请参阅

参考

NonRetrievablePropertyException 类

NonRetrievablePropertyException 重载

Microsoft.SqlServer.Management.Dmf 命名空间