Share via


Propriété Schema

Obtient ou définit une valeur String qui spécifie le nom du schéma qui contient la procédure stockée.

Cette API n'est pas conforme CLS. L'alternative conforme CLS est .

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

Syntaxe

'Déclaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),  _
    "Resolve", )> _
Public Overrides Property Schema As String
    Get
    Set
'Utilisation
Dim instance As StoredProcedure
Dim value As String

value = instance.Schema

instance.Schema = value
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )]
public override string Schema { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    L"Resolve", )]
public:
virtual property String^ Schema {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )>]
abstract Schema : string with get, set
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", )>]
override Schema : string with get, set
override function get Schema () : String
override function set Schema (value : String)

Valeur de propriété

Type : System. . :: . .String
Valeur String qui spécifie le nom du schéma qui contient la procédure stockée.