UserDefinedFunction-Member
The UserDefinedFunction object represents a SQL Server user-defined function.
Der UserDefinedFunction-Typ macht die folgenden Member verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
UserDefinedFunction() () () () | Initializes a new instance of the UserDefinedFunction class. | |
UserDefinedFunction(Database, String) | Initializes a new instance of the UserDefinedFunction class on the specified database and with the specified name. | |
UserDefinedFunction(Database, String, String) | Initializes a new instance of the UserDefinedFunction class on the specified database and with the specified name and schema. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AddDatabaseContext | (Geerbt von SqlSmoObject.) | |
Alter | Updates any UserDefinedFunction object property changes on the instance of SQL Server. | |
AlterImpl | (Geerbt von SqlSmoObject.) | |
AlterImplFinish | (Geerbt von SqlSmoObject.) | |
AlterImplInit | (Geerbt von SqlSmoObject.) | |
AlterImplWorker | (Geerbt von SqlSmoObject.) | |
AppendCommaText | (Geerbt von ScriptNameObjectBase.) | |
AppendWithCommaText | (Geerbt von ScriptNameObjectBase.) | |
AppendWithOption | (Geerbt von ScriptNameObjectBase.) | |
BindDefaultImpl | (Geerbt von SqlSmoObject.) | |
BindRuleImpl | (Geerbt von SqlSmoObject.) | |
ChangeSchema | Changes the schema for the user-defined function. | |
CheckCollation | (Geerbt von SqlSmoObject.) | |
CheckObjectDirty | (Geerbt von ScriptNameObjectBase.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Geerbt von SqlSmoObject.) | |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Geerbt von SqlSmoObject.) | |
CheckObjectStateImpl | (Geerbt von SqlSmoObject.) | |
CheckTextCorectness | (Geerbt von ScriptNameObjectBase.) | |
CheckTextModeSupport | (Geerbt von ScriptNameObjectBase.) | |
CheckVersion100 | (Geerbt von SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.) | |
CheckVersionBelow90 | (Geerbt von SqlSmoObject.) | |
CleanObject | Cleans the referenced object. (Geerbt von ScriptNameObjectBase.) | |
Create | Creates a user-defined function on the instance of SQL Server as defined by the UserDefinedFunction object. | |
CreateImpl | (Geerbt von SqlSmoObject.) | |
CreateImplFinish | (Geerbt von SqlSmoObject.) | |
CreateImplInit | (Geerbt von SqlSmoObject.) | |
Deny(ObjectPermissionSet, String) | Denies the specified set of permissions for the specified grantee on the user-defined function. | |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies the specified set of permissions for the specified grantees on the user-defined function. | |
Deny(ObjectPermissionSet, String, Boolean) | Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the user-defined function. | |
Deny(ObjectPermissionSet, String, array<String> [] () [] []) | Denies the specified set of permissions to the grantee on the specified columns on the user-defined function. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Denies the specified permission for the specified grantees on the user-defined function. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] []) | Denies the specified set of permissions for the grantees on the specified columns on the user-defined function. | |
Deny(ObjectPermissionSet, String, array<String> [] () [] [], Boolean) | Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the specified columns on the user-defined function. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] [], Boolean) | Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the specified columns on the user-defined function. | |
Discover | (Geerbt von SqlSmoObject.) | |
Drop | Removes the user-defined function from the instance of SQL Server. | |
DropImpl | (Geerbt von SqlSmoObject.) | |
DropImplWorker | (Geerbt von SqlSmoObject.) | |
EnumColumnPermissions() () () () | Enumerates a list of column permissions for the user-defined function. | |
EnumColumnPermissions(String) | Enumerates a list of column permissions for a specified grantee on the user-defined function. | |
EnumColumnPermissions(ObjectPermissionSet) | Enumerates a list of column permissions for a specified permission on the user-defined function. | |
EnumColumnPermissions(String, ObjectPermissionSet) | Enumerates a list of column permissions for a specified grantee and a specified permission on the user-defined function. | |
EnumObjectPermissions() () () () | Enumerates a list of object permissions for the user-defined function. | |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the user-defined function. | |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the user-defined function. | |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the user-defined function. | |
EnumScriptImpl | (Geerbt von SqlSmoObject.) | |
EnumScriptImplWorker | (Geerbt von SqlSmoObject.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Geerbt von ScriptNameObjectBase.) | |
FormatSqlVariant | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceScript | (Geerbt von SqlSmoObject.) | |
GetBindDefaultScript | (Geerbt von SqlSmoObject.) | |
GetBindRuleScript | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetBraketNameForText | (Geerbt von ScriptNameObjectBase.) | |
GetDateTimeParameter | (Geerbt von SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.) | |
GetEnumParameter | (Geerbt von SqlSmoObject.) | |
GetFragOptionString | (Geerbt von SqlSmoObject.) | |
GetGuidParameter | (Geerbt von SqlSmoObject.) | |
GetHashCode | (Geerbt von Object.) | |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Geerbt von ScriptNameObjectBase.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetPropValue | (Geerbt von SqlSmoObject.) | |
GetPropValueOptional | (Geerbt von SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Geerbt von SqlSmoObject.) | |
GetRealValue | (Geerbt von SqlSmoObject.) | |
GetScriptIncludeExists | (Geerbt von ScriptNameObjectBase.) | |
GetScriptingOptionsForCreate | (Geerbt von SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetServerObject | (Geerbt von SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetTextBody() () () () | Returns the text body. (Geerbt von ScriptNameObjectBase.) | |
GetTextBody(Boolean) | Returns the text body. (Geerbt von ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Geerbt von ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | (Geerbt von ScriptNameObjectBase.) | |
GetTextHeader | Returns the text header. (Geerbt von ScriptNameObjectBase.) | |
GetTextMode | Determines whether the script name is using text mode. (Geerbt von ScriptNameObjectBase.) | |
GetTextProperty(String) | (Geerbt von ScriptNameObjectBase.) | |
GetTextProperty(String, ScriptingOptions) | (Geerbt von ScriptNameObjectBase.) | |
GetTimeSpanParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetType | (Geerbt von Object.) | |
GetUrnRecursive(StringBuilder) | (Geerbt von SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Geerbt von SqlSmoObject.) | |
Grant(ObjectPermissionSet, String) | Grants the specified set of permissions to the specified grantee on the user-defined function. | |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants the specified set of permissions to the specified grantees on the user-defined function. | |
Grant(ObjectPermissionSet, String, Boolean) | Grants access to the specified permission and the ability to grant access to other uses for the specified grantee on the user-defined function. | |
Grant(ObjectPermissionSet, String, array<String> [] () [] []) | Grants access to the specified permission on the specified columns for the specified grantee on the specified columns on the user-defined function. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Grants access to the specified permission and the ability to grant access to other uses for the specified grantees on the user-defined function. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] []) | Grants the specified set of permissions to the grantees to the specified columns on the user-defined function. | |
Grant(ObjectPermissionSet, String, Boolean, String) | Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the user-defined function under an assumed role. | |
Grant(ObjectPermissionSet, String, array<String> [] () [] [], Boolean) | Grants the specified permission to the grantee and the ability to grant the specified set of permissions to other users on the specified columns on the user-defined function. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean, String) | Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the user-defined function under an assumed role. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] [], Boolean) | Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the specified columns on the user-defined function. | |
Grant(ObjectPermissionSet, String, array<String> [] () [] [], Boolean, String) | Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the specified columns on the user-defined function under an assumed role. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] [], Boolean, String) | Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the specified columns on the user-defined function under an assumed role. | |
ImplInitialize | (Geerbt von SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Geerbt von ScriptNameObjectBase.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
IsVersion80SP3 | (Geerbt von SqlSmoObject.) | |
MarkDropped | (Geerbt von SqlSmoObject.) | |
MarkForDropImpl | (Geerbt von SqlSmoObject.) | |
MemberwiseClone | (Geerbt von Object.) | |
PostAlter | (Geerbt von SqlSmoObject.) | |
PostCreate | (Geerbt von SqlSmoObject.) | |
PostDrop | (Geerbt von SqlSmoObject.) | |
Refresh | Refreshes the UserDefinedFunction object properties. (Überschreibt ScriptNameObjectBase. . :: . .Refresh() () () ().) | |
Rename | Renames the user-defined function. | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
Revoke(ObjectPermissionSet, String) | Revokes a previously granted set of permissions from a grantee on the user-defined function. | |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the user-defined function. | |
Revoke(ObjectPermissionSet, String, array<String> [] () [] []) | Revokes a previously granted set of permissions from a grantee on the specified columns on the user-defined function. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the specified columns on the user-defined function. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean) | Revokes a previously granted set of permissions from a grantee on the user-defined function and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean) | Revokes a previously granted set of permissions from grantees from the user-defined function and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) | Revokes a previously granted set of permissions from a grantee on the user-defined function and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, String, array<String> [] () [] [], Boolean, Boolean) | Revokes a previously granted set of permissions from grantees on the specified columns on the user-defined function and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) | Revokes a previously granted set of permissions from grantees on the user-defined function and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] [], Boolean, Boolean) | Revokes a previously granted set of permissions from grantees on the specified columns on the user-defined function and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users. | |
Revoke(ObjectPermissionSet, String, array<String> [] () [] [], Boolean, Boolean, String) | Revokes a previously granted set of permissions from a grantee on the specified columns on the user-defined function and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], array<String> [] () [] [], Boolean, Boolean, String) | Revokes a previously granted set of permissions from grantees on the specified columns on the user-defined function and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the user-defined function. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the user-defined function as specified by the script options. | |
ScriptAlter | (Geerbt von SqlSmoObject.) | |
ScriptAnsiQI | (Geerbt von ScriptNameObjectBase.) | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
ScriptCreate | (Geerbt von SqlSmoObject.) | |
ScriptDdl | (Geerbt von SqlSmoObject.) | |
ScriptDrop | (Geerbt von SqlSmoObject.) | |
ScriptHeader | Returns the text header with the option to modify the text. | |
ScriptImpl() () () () | (Geerbt von SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Geerbt von SqlSmoObject.) | |
ScriptImplWorker | (Geerbt von SqlSmoObject.) | |
ScriptInformativeHeaders | (Geerbt von ScriptNameObjectBase.) | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
SetCollectionTextMode | Sets the collection text mode. (Geerbt von ScriptNameObjectBase.) | |
SetParentImpl | (Geerbt von SqlSmoObject.) | |
SetTextBody | Specifies the text body. (Geerbt von ScriptNameObjectBase.) | |
SetTextHeader | Specifies the text header. (Geerbt von ScriptNameObjectBase.) | |
SetTextMode | Specifies the text mode. (Geerbt von ScriptNameObjectBase.) | |
SwitchTextMode | Switches the text mode. (Geerbt von ScriptNameObjectBase.) | |
ThrowIfTextIsDirtyForAlter | (Geerbt von ScriptNameObjectBase.) | |
ToString | Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.) | |
TouchImpl | (Geerbt von SqlSmoObject.) | |
UnbindDefaultImpl | (Geerbt von SqlSmoObject.) | |
UnbindRuleImpl | (Geerbt von SqlSmoObject.) | |
Validate | (Geerbt von SmoObjectBase.) |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
AnsiNullsStatus | Gets the Boolean property value that specifies whether ISO NULL handling is enabled in the user-defined function. | |
AssemblyName | Gets or sets the name of the assembly for the user-defined function. | |
Checks | Represents a collection of Check objects. Each Check object represents a check constraint defined on the user-defined function. | |
ClassName | Gets or sets the name of the class for the user-defined function. | |
Columns | Represents a collection of Column objects. Each Column object represents a column defined on the user-defined function. | |
CreateDate | Gets the date and time when the user-defined function was created. | |
DataType | Gets or sets the return type for scalar functions. | |
DateLastModified | Gets the date and time when the user-defined function was last modified. | |
Events | Gets the events associated with the user-defined function. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.) | |
ExecutionContext | Gets or sets the execution context for the user-defined function. | |
ExecutionContextPrincipal | Gets or sets the execution context principal for the user-defined function. | |
ExtendedProperties | Gets the extended properties of the UserDefinedFunction object. | |
FunctionType | Gets or sets the user-defined function type. | |
ID | Gets the ID value that uniquely identifies the user-defined function. | |
ImplementationType | Gets or sets the implementation type of the user-defined function. | |
Indexes | Represents a collection of Index objects. Each Index object represents an index defined on the user-defined function. | |
IsDeterministic | Gets or sets the Boolean property value that specifies whether the user-defined function is deterministic. | |
IsEncrypted | Gets or sets the Boolean property value that specifies whether the user-defined function is encrypted. | |
IsSchemaBound | Gets or sets the Boolean property value that specifies whether the user-defined function is bound to a schema. | |
IsSchemaOwned | ||
IsSystemObject | Gets the Boolean property value that specifies whether the user-defined function is a system object. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Geerbt von SqlSmoObject.) | |
MethodName | Gets the method name for the user-defined function. | |
Name | Gets or sets the name of the Schema Object Base. (Geerbt von ScriptSchemaObjectBase.) | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
OrderColumns | Returns the OrderColumnsCollection that is associated with this user-defined function. | |
Owner | ||
Parameters | Represents a collection of Parameter objects. Each Parameter object represents a parameter defined for the user-defined function. | |
Parent | Gets or sets the Database object that is the parent of the UserDefinedFunction object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.) | |
QuotedIdentifierStatus | Gets or sets a Boolean property value that specifies whether identifiers delimited by double quotation marks are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules in the user-defined function. | |
ReturnsNullOnNullInput | Gets or sets the Boolean property that specifies whether to call the function if at least one of the function arguments is null. | |
ScalarResult | Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.) | |
Schema | Gets or sets the schema. (Geerbt von ScriptSchemaObjectBase.) | |
State | Gets the state of the referenced object. (Geerbt von SmoObjectBase.) | |
TableVariableName | Gets or sets the table variable name. | |
TextBody | Gets or sets the Transact-SQL string that defines the user-defined function. | |
TextHeader | Gets or sets the header part of the Transact-SQL string that defines the user-defined function. | |
TextMode | Gets or sets the Boolean property that specifies whether the text header is editable as text. | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
PropertyChanged | (Geerbt von SqlSmoObject.) | |
PropertyMetadataChanged | (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IAlienObjectDiscover | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetParent | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetProperty | (Geerbt von SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetUrn | (Geerbt von SqlSmoObject.) | |
IAlienObjectResolve | (Geerbt von SqlSmoObject.) | |
IAlienObjectSetProperty | (Geerbt von SqlSmoObject.) |
Zum Anfang