CLR yordamları için özel öznitelikleri
The attributes listed can be applied to common language runtime (CLR) routines, user-defined types, and user-defined aggregates that are registered in Microsoft SQL Server.Öznitelik, uygulanmazsa SQL Server Varsayılan değeri kabul eder. Listelenen özniteliklerin tanımlanan Microsoft.SqlServer.Server ad alanı.
SqlUserDefinedAggregate öznitelik
The SqlUserDefinedAggregate öznitelik indicates that the yöntem should be registered as a user-defined toplamak. Bu konuda açıklamalı her kullanıcı tanımlı bir toplamak gerekir öznitelik.
Daha fazla bilgi için bkz: SqlUserDefinedAggregateAttribute.
SqlFunction öznitelik
The SqlFunction öznitelik indicates the yöntem should be registered as a işlev, with the appropriate işlev attributes küme.
Daha fazla bilgi için bkz: SqlFunctionAttribute.
SqlFacet öznitelik
The SqlFacet öznitelik is used to return information about the return type of a kullanıcı tanımlı tür (UDT) ifade.
Daha fazla bilgi için bkz: SqlFacetAttribute.
SqlProcedure özniteliği
The SqlProcedure öznitelik indicates the yöntem should be registered as a saklı yordam. Bu öznitelik Visual Studio tarafından belirtilen yöntem saklanan bir yordamın otomatik olarak kaydetmek için kullanılır; tarafından kullanılır. SQL Server.
Daha fazla bilgi için bkz: SqlProcedureAttribute.
SqlTrigger öznitelik
The SqlTrigger öznitelik indicates the yöntem should be registered as a trigger.
Daha fazla bilgi için bkz: SqlTriggerContext.
SqlUserDefinedTypeAttribute
Derleme içindeki bir sınıf tanımı SqlUserDefinedTypeAttribute uygulayabilirsiniz.Bunu neden olur. SQL Server Bu özel öznitelik olan sınıf tanımı ilişkili kullanıcı tanımlı bir tür oluşturmak için .
Daha fazla bilgi için bkz: SqlUserDefinedTypeAttribute.
SqlMethod öznitelik
The SqlMethod öznitelik is used to indicate the determinism and data access properties of a yöntem or a özellik on a UDT.
Daha fazla bilgi için bkz: SqlMethodAttribute.
See Also