Partilhar via


Construtor Check (SqlSmoObject, String)

Initializes a new instance of the Check class, which is owned by the specified parent object and has the specified name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'Uso
Dim parent As SqlSmoObject
Dim name As String

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

Parâmetros