Méthode UserDefinedDataType.BindDefault (String, String, Boolean)

Binds a default to the user-defined data type.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub BindDefault ( _
    defaultSchema As String, _
    defaultName As String, _
    bindColumns As Boolean _
)
'Utilisation
Dim instance As UserDefinedDataType 
Dim defaultSchema As String 
Dim defaultName As String 
Dim bindColumns As Boolean

instance.BindDefault(defaultSchema, defaultName, _
    bindColumns)
public void BindDefault(
    string defaultSchema,
    string defaultName,
    bool bindColumns
)
public:
void BindDefault(
    String^ defaultSchema, 
    String^ defaultName, 
    bool bindColumns
)
member BindDefault : 
        defaultSchema:string * 
        defaultName:string * 
        bindColumns:bool -> unit
public function BindDefault(
    defaultSchema : String, 
    defaultName : String, 
    bindColumns : boolean
)

Paramètres

  • defaultSchema
    Type : System.String
    A String value that specifies the schema for the default.
  • bindColumns
    Type : System.Boolean
    A Boolean value that specifies whether the default is bound to the user-defined data type if it is already bound to a column.If True, the default is bound to the user-defined data type.If False, the default is not bound to the user-defined data type.

Exemples

Utilisation des types de données

Voir aussi

Référence

UserDefinedDataType Classe

Surcharge BindDefault

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Types de données (Moteur de base de données)

CREATE TYPE (Transact-SQL)