Membres UserDefinedType
The UserDefinedType represents an alias data type that is based on .NET data types.
Le type UserDefinedType expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
UserDefinedType() () () () | Initializes a new instance of the UserDefinedType class. | |
UserDefinedType(Database, String) | Initializes a new instance of the UserDefinedType class on the specified database and with the specified name. | |
UserDefinedType(Database, String, String) | Initializes a new instance of the UserDefinedType class on the specified database and with the specified name and schema. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AddDatabaseContext | (Hérité de SqlSmoObject.) | |
AlterImpl | (Hérité de SqlSmoObject.) | |
AlterImplFinish | (Hérité de SqlSmoObject.) | |
AlterImplInit | (Hérité de SqlSmoObject.) | |
AlterImplWorker | (Hérité de SqlSmoObject.) | |
AppendCommaText | (Hérité de ScriptNameObjectBase.) | |
AppendWithCommaText | (Hérité de ScriptNameObjectBase.) | |
AppendWithOption | (Hérité de ScriptNameObjectBase.) | |
BindDefaultImpl | (Hérité de SqlSmoObject.) | |
BindRuleImpl | (Hérité de SqlSmoObject.) | |
ChangeSchema | Changes the schema of the alias data type. | |
CheckCollation | (Hérité de SqlSmoObject.) | |
CheckObjectDirty | (Hérité de ScriptNameObjectBase.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Hérité de 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. (Hérité de SqlSmoObject.) | |
CheckObjectStateImpl | (Hérité de SqlSmoObject.) | |
CheckTextCorectness | (Hérité de ScriptNameObjectBase.) | |
CheckTextModeSupport | (Hérité de ScriptNameObjectBase.) | |
CheckVersion100 | (Hérité de SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Hérité de SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Hérité de SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Hérité de SqlSmoObject.) | |
CheckVersionBelow90 | (Hérité de SqlSmoObject.) | |
CleanObject | Cleans the referenced object. (Hérité de ScriptNameObjectBase.) | |
Create | Creates a alias data type on the instance of Microsoft SQL Server as defined by the UserDefinedType object. | |
CreateImpl | (Hérité de SqlSmoObject.) | |
CreateImplFinish | (Hérité de SqlSmoObject.) | |
CreateImplInit | (Hérité de SqlSmoObject.) | |
Deny(ObjectPermissionSet, String) | Denies the specified set of permissions for the specified grantee on the alias data type. | |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies the specified set of permissions for the specified grantees on the alias data type. | |
Deny(ObjectPermissionSet, String, Boolean) | Denies the specified set of permissions for the specified grantee and other users whom the grantee granted the specified set of permissions on the alias data type. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Denies the specified set of permissions for the specified grantees and other users whom the grantee granted the specified set of permissions on the alias data type. | |
Discover | (Hérité de SqlSmoObject.) | |
Drop | Removes the alias data type from the instance of SQL Server. | |
DropImpl | (Hérité de SqlSmoObject.) | |
DropImplWorker | (Hérité de SqlSmoObject.) | |
EnumObjectPermissions() () () () | Enumerates a list of object permissions for the alias data type. | |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the alias data type. | |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the alias data type. | |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the alias data type. | |
EnumScriptImpl | (Hérité de SqlSmoObject.) | |
EnumScriptImplWorker | (Hérité de SqlSmoObject.) | |
Equals | (Hérité de Object.) | |
Finalize | (Hérité de Object.) | |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Hérité de ScriptNameObjectBase.) | |
FormatSqlVariant | (Hérité de SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Hérité de SqlSmoObject.) | |
GenerateDataSpaceScript | (Hérité de SqlSmoObject.) | |
GetBindDefaultScript | (Hérité de SqlSmoObject.) | |
GetBindRuleScript | (Hérité de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetBraketNameForText | (Hérité de ScriptNameObjectBase.) | |
GetDateTimeParameter | (Hérité de SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Hérité de SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Hérité de SqlSmoObject.) | |
GetEnumParameter | (Hérité de SqlSmoObject.) | |
GetFragOptionString | (Hérité de SqlSmoObject.) | |
GetGuidParameter | (Hérité de SqlSmoObject.) | |
GetHashCode | (Hérité de Object.) | |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Hérité de ScriptNameObjectBase.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetPropValue | (Hérité de SqlSmoObject.) | |
GetPropValueOptional | (Hérité de SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Hérité de SqlSmoObject.) | |
GetRealValue | (Hérité de SqlSmoObject.) | |
GetScriptIncludeExists | (Hérité de ScriptNameObjectBase.) | |
GetScriptingOptionsForCreate | (Hérité de SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) | |
GetServerObject | (Hérité de SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetTextBody() () () () | Returns the text body. (Hérité de ScriptNameObjectBase.) | |
GetTextBody(Boolean) | Returns the text body. (Hérité de ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Hérité de ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | (Hérité de ScriptNameObjectBase.) | |
GetTextHeader | Returns the text header. (Hérité de ScriptNameObjectBase.) | |
GetTextMode | Determines whether the script name is using text mode. (Hérité de ScriptNameObjectBase.) | |
GetTextProperty(String) | (Hérité de ScriptNameObjectBase.) | |
GetTextProperty(String, ScriptingOptions) | (Hérité de ScriptNameObjectBase.) | |
GetTimeSpanParameterAsInt | (Hérité de SqlSmoObject.) | |
GetType | (Hérité de Object.) | |
GetUrnRecursive(StringBuilder) | (Hérité de SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Hérité de SqlSmoObject.) | |
Grant(ObjectPermissionSet, String) | Grants the specified set of permissions to the specified grantee on the alias data type. | |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants the specified set of permissions to the specified grantees on the alias data type. | |
Grant(ObjectPermissionSet, String, Boolean) | Grants the specified set of permissions to the grantee and the ability to grant the specified set of permissions to other users on the alias data type. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Grants the specified set pf permissions to the grantees and the ability to grant the specified set of permissions to other users on the asymmetric key. | |
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 alias data type under an assumed role. | |
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 alias data type under an assumed role. | |
ImplInitialize | (Hérité de SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) | |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Hérité de ScriptNameObjectBase.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Hérité de SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Hérité de SqlSmoObject.) | |
IsVersion80SP3 | (Hérité de SqlSmoObject.) | |
MarkDropped | (Hérité de SqlSmoObject.) | |
MarkForDropImpl | (Hérité de SqlSmoObject.) | |
MemberwiseClone | (Hérité de Object.) | |
PostAlter | (Hérité de SqlSmoObject.) | |
PostCreate | (Hérité de SqlSmoObject.) | |
PostDrop | (Hérité de SqlSmoObject.) | |
Refresh | Refreshes the script name. (Hérité de ScriptNameObjectBase.) | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
Revoke(ObjectPermissionSet, String) | Revokes a previously granted set of permissions from a grantee on the alias data type. | |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the alias data type. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean) | Revokes previously granted permissions from a grantee on the alias data type 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> [] () [] [], Boolean, Boolean) | Revokes previously granted permissions from grantees on the alias data type 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, String, Boolean, Boolean, String) | Revokes previously granted permissions from a grantee on the alias data type 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> [] () [] [], Boolean, Boolean, String) | Revokes previously granted permissions from grantees on the alias data type 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 alias data type. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the alias data type as specified by the script options. | |
ScriptAlter | (Hérité de SqlSmoObject.) | |
ScriptAnsiQI | (Hérité de ScriptNameObjectBase.) | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
ScriptCreate | (Hérité de SqlSmoObject.) | |
ScriptDdl | (Hérité de SqlSmoObject.) | |
ScriptDrop | (Hérité de SqlSmoObject.) | |
ScriptImpl() () () () | (Hérité de SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Hérité de SqlSmoObject.) | |
ScriptImplWorker | (Hérité de SqlSmoObject.) | |
ScriptInformativeHeaders | (Hérité de ScriptNameObjectBase.) | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
SetCollectionTextMode | Sets the collection text mode. (Hérité de ScriptNameObjectBase.) | |
SetParentImpl | (Hérité de SqlSmoObject.) | |
SetTextBody | Specifies the text body. (Hérité de ScriptNameObjectBase.) | |
SetTextHeader | Specifies the text header. (Hérité de ScriptNameObjectBase.) | |
SetTextMode | Specifies the text mode. (Hérité de ScriptNameObjectBase.) | |
SwitchTextMode | Switches the text mode. (Hérité de ScriptNameObjectBase.) | |
ThrowIfTextIsDirtyForAlter | (Hérité de ScriptNameObjectBase.) | |
ToString | Returns a String that represents the referenced object. (Hérité de SqlSmoObject.) | |
TouchImpl | (Hérité de SqlSmoObject.) | |
UnbindDefaultImpl | (Hérité de SqlSmoObject.) | |
UnbindRuleImpl | (Hérité de SqlSmoObject.) | |
Validate | (Hérité de SmoObjectBase.) |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
AssemblyName | Gets or sets the name of the .NET assembly that is required by the referenced alias data type. | |
BinaryTypeIdentifier | Gets the ID value that uniquely identifies the binary type. | |
ClassName | Gets or sets the name of the class that is called by the referenced alias data type. | |
Collation | Gets the collation that is associated with the alias data type. | |
Events | Gets the events that are associated with the alias data type. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Hérité de SqlSmoObject.) | |
ExtendedProperties | Gets the extended properties of the UserDefinedType object. | |
ID | Gets the ID value that uniquely identifies the alias data type. | |
IsBinaryOrdered | Gets the Boolean property that specifies whether the alias data type is binary ordered. | |
IsComVisible | Gets the Boolean property that specifies whether the alias data type is accessible from COM components. | |
IsFixedLength | Gets the Boolean property that specifies whether the alias data type is fixed length. | |
IsNullable | Gets the Boolean property that specifies whether the alias data type accepts null values. | |
IsSchemaOwned | ||
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Hérité de SqlSmoObject.) | |
MaxLength | Gets the maximum length of the alias data type. | |
Name | Gets or sets the name of the Schema Object Base. (Hérité de ScriptSchemaObjectBase.) | |
NumericPrecision | Gets the numeric precision of the alias data type. | |
NumericScale | Gets the numeric scale of the alias data type. | |
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. (Hérité de SqlSmoObject.) | |
Owner | ||
Parent | Gets the Database object that is the parent of the UserDefinedType object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Hérité de SqlSmoObject.) | |
ScalarResult | Gets the scalar result for the referenced object. (Hérité de SqlSmoObject.) | |
Schema | Gets or sets the schema. (Hérité de ScriptSchemaObjectBase.) | |
State | Gets the state of the referenced object. (Hérité de SmoObjectBase.) | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Hérité de SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Hérité de SmoObjectBase.) | |
UserDefinedTypeFormat | Gets the serialization format for the alias data type. |
Haut de la page
Événements
Nom | Description | |
---|---|---|
PropertyChanged | (Hérité de SqlSmoObject.) | |
PropertyMetadataChanged | (Hérité de SqlSmoObject.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IAlienObjectDiscover | (Hérité de SqlSmoObject.) | |
IAlienObjectGetParent | (Hérité de SqlSmoObject.) | |
IAlienObjectGetProperty | (Hérité de SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Hérité de SqlSmoObject.) | |
IAlienObjectGetUrn | (Hérité de SqlSmoObject.) | |
IAlienObjectResolve | (Hérité de SqlSmoObject.) | |
IAlienObjectSetProperty | (Hérité de SqlSmoObject.) |
Haut de la page