共用方式為


DatabaseSecurityAdapter 建構函式

Includes properties and methods that are used to expose the Database Security facet.

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

語法

'宣告
Public Sub New ( _
    obj As Database _
)
'用途
Dim obj As Database

Dim instance As New DatabaseSecurityAdapter(obj)
public DatabaseSecurityAdapter(
    Database obj
)
public:
DatabaseSecurityAdapter(
    Database^ obj
)
new : 
        obj:Database -> DatabaseSecurityAdapter
public function DatabaseSecurityAdapter(
    obj : Database
)