다음을 통해 공유


ExtendedStoredProcedure 클래스

The ExtendedStoredProcedure object represents an extended stored procedure on the instance of Microsoft SQL Server.

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

구문

‘선언
Public NotInheritable Class ExtendedStoredProcedure _
    Inherits ScriptSchemaObjectBase _
    Implements IObjectPermission, ICreatable, IAlterable, IDroppable,  _
    IExtendedProperties
‘사용 방법
Dim instance As ExtendedStoredProcedure
public sealed class ExtendedStoredProcedure : ScriptSchemaObjectBase, 
    IObjectPermission, ICreatable, IAlterable, IDroppable, IExtendedProperties
public ref class ExtendedStoredProcedure sealed : public ScriptSchemaObjectBase, 
    IObjectPermission, ICreatable, IAlterable, IDroppable, IExtendedProperties
[<SealedAttribute>]
type ExtendedStoredProcedure =  
    class
        inherit ScriptSchemaObjectBase
        interface IObjectPermission
        interface ICreatable
        interface IAlterable
        interface IDroppable
        interface IExtendedProperties
    end
public final class ExtendedStoredProcedure extends ScriptSchemaObjectBase implements IObjectPermission, ICreatable, IAlterable, IDroppable, IExtendedProperties

주의

Extended stored procedures are user-defined routines in a programming language such as C that extend the functionality of SQL Server. Extended stored procedures are executed in the same way as stored procedures on an instance of SQL Server. They can be passed parameters and return values.

To get ExtendedStoredProcedure object properties, users can be a member of the public fixed server role.

To set ExtendedStoredProcedure object properties, users must have ALTER permission on the extended stored procedure, or be a member of db_owner fixed database role.

To create a extended stored procedure, users must have CREATE PROCEDURE permission on the parent database or be a member of the db_owner fixed database role.

To drop a extended stored procedure, users must have CONTROL permission on the extended stored procedure or be a member of the db_owner fixed database role.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.