共用方式為


ExtendedProperty 建構函式 (SqlSmoObject, String)

Initializes a new instance of the ExtendedProperty class with the specified parent and name.

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

語法

'宣告
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'用途
Dim parent As SqlSmoObject
Dim name As String

Dim instance As New ExtendedProperty(parent, _
    name)
public ExtendedProperty(
    SqlSmoObject parent,
    string name
)
public:
ExtendedProperty(
    SqlSmoObject^ parent, 
    String^ name
)
new : 
        parent:SqlSmoObject * 
        name:string -> ExtendedProperty
public function ExtendedProperty(
    parent : SqlSmoObject, 
    name : String
)

參數

範例

設定屬性