Membres UserDefinedTableType
The UserDefinedTableType object represents a SQL Server user-defined table type data type.
Le type UserDefinedTableType expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
UserDefinedTableType() () () () | Initializes a new instance of the UserDefinedTableType class. | |
UserDefinedTableType(Database, String) | Initializes a new instance of the UserDefinedTableType class on the specified database and with the specified name. | |
UserDefinedTableType(Database, String, String) | Initializes a new instance of the UserDefinedTableType 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.) | |
Alter | Alters the table. | |
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.) | |
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 user-defined table type 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 user-defined table type. | |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies the specified set of permissions for the specified grantees on the user-defined table type. | |
Deny(ObjectPermissionSet, String, Boolean) | Denies the specified set of permissions for the specified grantee and other users who the grantee granted the specified set of permissions on the user-defined table type. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Denies the specified set of permissions for the specified grantees and other users who the grantee granted the specified set of permissions on the user-defined table type. | |
Discover | (Hérité de SqlSmoObject.) | |
Drop | Removes the user-defined table 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 user-defined table type. | |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the user-defined table type. | |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the user-defined table type. | |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the user-defined table 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 user-defined table type. | |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants the specified set of permissions to the specified grantees on the user-defined table 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 user-defined table 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 user-defined table type. | |
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 table type under an assumed role. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean, String) | Grants the specified set of permissions to the grantees. Also grants the ability to grant the set of permissions to other users on the user-defined table type 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 | Marks a view table type as drooped. (Hérité de TableViewTableTypeBase.) | |
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 view. (Hérité de TableViewTableTypeBase.) | |
Rename | Renames the table. | |
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 user-defined table type. | |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the user-defined table type. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean) | Revokes previously granted permissions from a grantee on the user-defined table 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 user-defined table 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 user-defined table 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 user-defined table 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 user-defined table type. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the user-defined table 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 | |
---|---|---|
Checks | Gets the checks collection. | |
Collation | Get the table collation. | |
Columns | Gets a column collection. (Hérité de TableViewTableTypeBase.) | |
CreateDate | Get the table create date. | |
DateLastModified | Gets the last modified date for the table. | |
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 an extended property collection. (Hérité de TableViewTableTypeBase.) | |
ID | Gets an ID value that uniquely identifies the user-defined table type. | |
Indexes | Gets an index collection. (Hérité de TableViewTableTypeBase.) | |
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.) | |
IsUserDefined | Specifies if the table is user defined. | |
MaxLength | Gets the maximum length in bytes for a column in the table. | |
Name | Gets or sets the name of the Schema Object Base. (Hérité de ScriptSchemaObjectBase.) | |
Nullable | Specifies if the type is nullable. | |
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 or sets the Database object that is the parent of the UserDefinedTableType 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.) |
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