Classe StoredProcedureParameter
The StoredProcedureParameter object represents a SQL Server stored procedure parameter.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcElementTypeAttribute("Param")> _
Public NotInheritable Class StoredProcedureParameter _
Inherits Parameter
'Utilisation
Dim instance As StoredProcedureParameter
[SfcElementTypeAttribute("Param")]
public sealed class StoredProcedureParameter : Parameter
[SfcElementTypeAttribute(L"Param")]
public ref class StoredProcedureParameter sealed : public Parameter
[<SealedAttribute>]
[<SfcElementTypeAttribute("Param")>]
type StoredProcedureParameter =
class
inherit Parameter
end
public final class StoredProcedureParameter extends Parameter
Notes
To get StoredProcedureParameter object properties, users can be a member of the public fixed server role.
To set StoredProcedureParameter object properties, users must have ALTER permission on the parent stored procedure, or be a member of db_owner fixed database role.
To create a 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 stored procedure parameter, users must have CONTROL permission on the parent 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. . :: . .ParameterBase
Microsoft.SqlServer.Management.Smo. . :: . .Parameter
Microsoft.SqlServer.Management.Smo..::..StoredProcedureParameter
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