Classe NumberedStoredProcedure
The NumberedStoredProcedure class represents a Microsoft SQL Server numbered stored procedure.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcElementTypeAttribute("Numbered")> _
Public NotInheritable Class NumberedStoredProcedure _
Inherits ScriptNameObjectBase _
Implements ICreatable, IAlterable, ITextObject
'Utilisation
Dim instance As NumberedStoredProcedure
[SfcElementTypeAttribute("Numbered")]
public sealed class NumberedStoredProcedure : ScriptNameObjectBase,
ICreatable, IAlterable, ITextObject
[SfcElementTypeAttribute(L"Numbered")]
public ref class NumberedStoredProcedure sealed : public ScriptNameObjectBase,
ICreatable, IAlterable, ITextObject
[<SealedAttribute>]
[<SfcElementTypeAttribute("Numbered")>]
type NumberedStoredProcedure =
class
inherit ScriptNameObjectBase
interface ICreatable
interface IAlterable
interface ITextObject
end
public final class NumberedStoredProcedure extends ScriptNameObjectBase implements ICreatable, IAlterable, ITextObject
Notes
The NumberedStoredProcedure object allows programmatic management of the SQL Server numbered stored procedures.
To get NumberedStoredProcedure object properties, users can be a member of the public fixed server role.
To set NumberedStoredProcedure object properties, users must have ALTER permission on the numbered stored procedure, or be a member of db_owner fixed database role.
To create a numbered 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 numbered stored procedure, users must have CONTROL permission on the numbered stored procedure, or be a member of the db_owner fixed database role.
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo..::..NumberedStoredProcedure
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Voir aussi