共用方式為


PropertyReadOnlyException 建構函式 (String)

Initializes a new instance of the PropertyReadOnlyException class for the specified property.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    propertyName As String _
)
'用途
Dim propertyName As String

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

參數