Aracılığıyla paylaş


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 uygulanırsa, SQL Server varsayar varsayılan değeri.Listelenen öznitelikleri tanımlanır Microsoft.SqlServer.Server ad.

SqlUserDefinedAggregate özniteliği

The SqlUserDefinedAggregate attribute indicates that the method should be registered as a user-defined aggregate.Her kullanıcı tanımlı toplu bu öznitelik ile açıklama gerekir.

Daha fazla bilgi için bkz: SqlUserDefinedAggregateAttribute.

SqlFunction özniteliği

The SqlFunction attribute indicates the method should be registered as a function, with the appropriate function attributes set.

Daha fazla bilgi için bkz: SqlFunctionAttribute.

SqlFacet özniteliği

The SqlFacet attribute is used to return information about the return type of a user-defined type (UDT) expression.

Daha fazla bilgi için bkz: SqlFacetAttribute.

SqlProcedure özniteliği

The SqlProcedure attribute indicates the method should be registered as a stored procedure.Bu öznitelik, Visual Studio tarafından belirtilen yöntem bir saklı yordam otomatik olarak kaydetmek için kullanılır; tarafından kullanılmaz SQL Server.

Daha fazla bilgi için bkz: SqlProcedureAttribute.

SqlTrigger özniteliği

The SqlTrigger attribute indicates the method should be registered as a trigger.

Daha fazla bilgi için bkz: SqlTriggerContext ve SqlTriggerAttribute.

SqlUserDefinedTypeAttribute

Bir derleme sınıf tanımında SqlUserDefinedTypeAttribute uygulayabilirsiniz.Neden SQL Server kullanıcı tanımlı tür, bağlı olduğu, var. Bu özel öznitelik sınıfı tanımı oluşturmak için

Daha fazla bilgi için bkz: SqlUserDefinedTypeAttribute.

SqlMethod özniteliği

The SqlMethod attribute is used to indicate the determinism and data access properties of a method or a property on a UDT.

Daha fazla bilgi için bkz: SqlMethodAttribute.