Propriété UserDefinedDataType.DefaultSchema

Gets or sets the SQL Server default schema for the user-defined data type.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "dbo")> _
Public Property DefaultSchema As String 
    Get 
    Set
'Utilisation
Dim instance As UserDefinedDataType 
Dim value As String 

value = instance.DefaultSchema

instance.DefaultSchema = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")]
public string DefaultSchema { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"dbo")]
public:
property String^ DefaultSchema {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "dbo")>]
member DefaultSchema : string with get, set
function get DefaultSchema () : String 
function set DefaultSchema (value : String)

Valeur de propriété

Type : System.String
A String value that specifies the default schema for the user-defined data type.

Exemples

Utilisation des types de données

Voir aussi

Référence

UserDefinedDataType Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

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

CREATE TYPE (Transact-SQL)