다음을 통해 공유


UserDefinedFunction.Schema 속성

Gets or sets a String value that specifies the name of the schema that contains the user defined function.

이 API는 CLS 규격이 아닙니다. CLS 규격 대체 항목은 입니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),  _
    "Resolve", )> _
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
<CLSCompliantAttribute(False)> _
Public Overrides Property Schema As String 
    Get 
    Set
‘사용 방법
Dim instance As UserDefinedFunction 
Dim value As String 

value = instance.Schema

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

속성 값

유형: System.String
A String value that specifies the name of the schema that contains the user defined function.

CREATE FUNCTION(Transact-SQL)

참고 항목

참조

UserDefinedFunction 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스