Condividi tramite


Membri UserDefinedDataType

The UserDefinedDataType object represents a SQL Server user-defined data type.

Il tipo UserDefinedDataType espone i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico UserDefinedDataType() () () () Initializes a new instance of the UserDefinedDataType class.
Metodo pubblico UserDefinedDataType(Database, String) Initializes a new instance of the UserDefinedDataType class on the specified database and with the specified name.
Metodo pubblico UserDefinedDataType(Database, String, String) Initializes a new instance of the UserDefinedDataType class on the specified database and with the specified name and schema.

In alto

Metodi

  Nome Descrizione
Metodo protetto AddDatabaseContext (Ereditato da SqlSmoObject).
Metodo pubblico Alter Updates any UserDefinedDataType object property changes on the instance of Microsoft SQL Server.
Metodo protetto AlterImpl (Ereditato da SqlSmoObject).
Metodo protetto AlterImplFinish (Ereditato da SqlSmoObject).
Metodo protetto AlterImplInit (Ereditato da SqlSmoObject).
Metodo protetto AlterImplWorker (Ereditato da SqlSmoObject).
Metodo protetto AppendCommaText (Ereditato da ScriptNameObjectBase).
Metodo protetto AppendWithCommaText (Ereditato da ScriptNameObjectBase).
Metodo protetto AppendWithOption (Ereditato da ScriptNameObjectBase).
Metodo pubblico BindDefault(String, String) Binds a default to the user-defined data type.
Metodo pubblico BindDefault(String, String, Boolean) Binds a default to the user-defined data type.
Metodo protetto BindDefaultImpl (Ereditato da SqlSmoObject).
Metodo pubblico BindRule(String, String) Binds a default to the user-defined data type.
Metodo pubblico BindRule(String, String, Boolean) Binds a default to the user-defined data type.
Metodo protetto BindRuleImpl (Ereditato da SqlSmoObject).
Metodo protetto CheckCollation (Ereditato da SqlSmoObject).
Metodo protetto CheckObjectDirty (Ereditato da ScriptNameObjectBase).
Metodo protetto CheckObjectState() () () () Validates the state of the referenced object. (Ereditato da SqlSmoObject).
Metodo protetto 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. (Ereditato da SqlSmoObject).
Metodo protetto CheckObjectStateImpl (Ereditato da SqlSmoObject).
Metodo protetto CheckTextCorectness (Ereditato da ScriptNameObjectBase).
Metodo protetto CheckTextModeSupport (Ereditato da ScriptNameObjectBase).
Metodo protetto CheckVersion100 (Ereditato da SqlSmoObject).
Metodo protetto CheckVersion80 Checks the validity of the object on SQL Server 2000. (Ereditato da SqlSmoObject).
Metodo protetto CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (Ereditato da SqlSmoObject).
Metodo protetto CheckVersion90 Check the validity of the object on SQL Server 2005. (Ereditato da SqlSmoObject).
Metodo protetto CheckVersionBelow90 (Ereditato da SqlSmoObject).
Metodo protetto CleanObject Cleans the referenced object. (Ereditato da ScriptNameObjectBase).
Metodo pubblico Create Creates a user-defined data type on the instance of Microsoft SQL Server as defined by the UserDefinedType object.
Metodo protetto CreateImpl (Ereditato da SqlSmoObject).
Metodo protetto CreateImplFinish (Ereditato da SqlSmoObject).
Metodo protetto CreateImplInit (Ereditato da SqlSmoObject).
Metodo pubblico Deny(ObjectPermissionSet, String) Denies the specified set of permissions for the specified grantee on the user-defined data type.
Metodo pubblico Deny(ObjectPermissionSet, array<String> [] () [] []) Denies the specified set of permissions for the specified grantees on the user-defined data type.
Metodo pubblico 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 data type.
Metodo pubblico Deny(ObjectPermissionSet, 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 user-defined data type.
Metodo pubblico Discover (Ereditato da SqlSmoObject).
Metodo pubblico Drop Removes the user-defined data type from the instance of Microsoft SQL Server.
Metodo protetto DropImpl (Ereditato da SqlSmoObject).
Metodo protetto DropImplWorker (Ereditato da SqlSmoObject).
Metodo pubblico EnumBoundColumns Enumerates a list of columns to which the user-defined data type type is bound.
Metodo pubblico EnumObjectPermissions() () () () Enumerates a list of object permissions for the user-defined data type.
Metodo pubblico EnumObjectPermissions(String) Enumerates a list of object permissions for a specified grantee on the user-defined data type.
Metodo pubblico EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of object permissions for a specified permission on the user-defined data type.
Metodo pubblico EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the user-defined data type.
Metodo protetto EnumScriptImpl (Ereditato da SqlSmoObject).
Metodo protetto EnumScriptImplWorker (Ereditato da SqlSmoObject).
Metodo pubblico Equals (Ereditato da Object).
Metodo protetto Finalize (Ereditato da Object).
Metodo protetto ForceTextModeOnTextBody Enforces text mode on the text body. (Ereditato da ScriptNameObjectBase).
Metodo protetto FormatSqlVariant (Ereditato da SqlSmoObject).
Metodo protetto GenerateDataSpaceFileStreamScript (Ereditato da SqlSmoObject).
Metodo protetto GenerateDataSpaceScript (Ereditato da SqlSmoObject).
Metodo protetto GetBindDefaultScript (Ereditato da SqlSmoObject).
Metodo protetto GetBindRuleScript (Ereditato da SqlSmoObject).
Metodo protetto GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Ereditato da SqlSmoObject).
Metodo protetto GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Ereditato da SqlSmoObject).
Metodo protetto GetBraketNameForText (Ereditato da ScriptNameObjectBase).
Metodo protetto GetDateTimeParameter (Ereditato da SqlSmoObject).
Metodo protetto GetDateTimeParameterAsInt (Ereditato da SqlSmoObject).
Metodo protetto GetDBName Gets the database name that is associated with the object. (Ereditato da SqlSmoObject).
Metodo protetto GetEnumParameter (Ereditato da SqlSmoObject).
Metodo protetto GetFragOptionString (Ereditato da SqlSmoObject).
Metodo protetto GetGuidParameter (Ereditato da SqlSmoObject).
Metodo pubblico GetHashCode (Ereditato da Object).
Metodo protetto GetIsTextDirty Determines whether the text value is consistent with stored value. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Ereditato da SqlSmoObject).
Metodo protetto GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Ereditato da SqlSmoObject).
Metodo protetto GetPropValue (Ereditato da SqlSmoObject).
Metodo protetto GetPropValueOptional (Ereditato da SqlSmoObject).
Metodo protetto GetPropValueOptionalAllowNull (Ereditato da SqlSmoObject).
Metodo protetto GetRealValue (Ereditato da SqlSmoObject).
Metodo protetto GetScriptIncludeExists (Ereditato da ScriptNameObjectBase).
Metodo protetto GetScriptingOptionsForCreate (Ereditato da SqlSmoObject).
Metodo protetto GetServerName Gets the name of the instance of SQL Server with which the object is associated. (Ereditato da SqlSmoObject).
Metodo protetto GetServerObject (Ereditato da SqlSmoObject).
Metodo protetto GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (Ereditato da SqlSmoObject).
Metodo protetto GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Ereditato da SqlSmoObject).
Metodo protetto GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Ereditato da SqlSmoObject).
Metodo protetto GetTextBody() () () () Returns the text body. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextBody(Boolean) Returns the text body. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) Gets the text for scripting. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextHeader Returns the text header. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextMode Determines whether the script name is using text mode. (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextProperty(String) (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTextProperty(String, ScriptingOptions) (Ereditato da ScriptNameObjectBase).
Metodo protetto GetTimeSpanParameterAsInt (Ereditato da SqlSmoObject).
Metodo pubblico GetType (Ereditato da Object).
Metodo protetto GetUrnRecursive(StringBuilder) (Ereditato da SqlSmoObject).
Metodo protetto GetUrnRecursive(StringBuilder, UrnIdOption) (Ereditato da SqlSmoObject).
Metodo pubblico Grant(ObjectPermissionSet, String) Grants the specified set of permissions to the specified grantee on the user-defined data type.
Metodo pubblico Grant(ObjectPermissionSet, array<String> [] () [] []) Grants the specified set of permissions to the specified grantees on the user-defined data type.
Metodo pubblico 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 data type.
Metodo pubblico 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 data type.
Metodo pubblico 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 data type under an assumed role.
Metodo pubblico 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 data type data type under an assumed role.
Metodo protetto ImplInitialize (Ereditato da SqlSmoObject).
Metodo pubblico Initialize() () () () Initializes the object and forces the properties be loaded. (Ereditato da SqlSmoObject).
Metodo pubblico Initialize(Boolean) Initializes the object and forces the properties be loaded. (Ereditato da SqlSmoObject).
Metodo protetto IsObjectDirty Determines whether the referenced object is consistent with the stored object. (Ereditato da ScriptNameObjectBase).
Metodo protetto IsObjectInitialized Verifies whether the object has been initialized. (Ereditato da SqlSmoObject).
Metodo protetto IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Ereditato da SqlSmoObject).
Metodo protetto IsVersion80SP3 (Ereditato da SqlSmoObject).
Metodo protetto MarkDropped (Ereditato da SqlSmoObject).
Metodo protetto MarkForDropImpl (Ereditato da SqlSmoObject).
Metodo protetto MemberwiseClone (Ereditato da Object).
Metodo protetto PostAlter (Ereditato da SqlSmoObject).
Metodo protetto PostCreate (Ereditato da SqlSmoObject).
Metodo protetto PostDrop (Ereditato da SqlSmoObject).
Metodo pubblico Refresh Refreshes the script name. (Ereditato da ScriptNameObjectBase).
Metodo pubblico Rename Renames the user defined data type.
Metodo protetto RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo protetto RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo pubblico Revoke(ObjectPermissionSet, String) Revokes a previously granted set of permissions from a grantee on the user-defined data type.
Metodo pubblico Revoke(ObjectPermissionSet, array<String> [] () [] []) Revokes a previously granted set of permissions from a list of grantees on the user-defined data type.
Metodo pubblico Revoke(ObjectPermissionSet, String, Boolean, Boolean) Revokes previously granted permissions from a grantee on the user-defined 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.
Metodo pubblico Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean) Revokes previously granted permissions from grantees on the user-defined 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.
Metodo pubblico Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the user-defined 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.
Metodo pubblico Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) Revokes previously granted permissions from grantees on the user-defined 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.
Metodo pubblico Script() () () () Generates a Transact-SQL script that can be used to re-create the user-defined data type.
Metodo pubblico Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the user-defined data type as specified by the script options.
Metodo protetto ScriptAlter (Ereditato da SqlSmoObject).
Metodo protetto ScriptAnsiQI (Ereditato da ScriptNameObjectBase).
Metodo protetto ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo protetto ScriptCreate (Ereditato da SqlSmoObject).
Metodo protetto ScriptDdl (Ereditato da SqlSmoObject).
Metodo protetto ScriptDrop (Ereditato da SqlSmoObject).
Metodo protetto ScriptImpl() () () () (Ereditato da SqlSmoObject).
Metodo protetto ScriptImpl(ScriptingOptions) (Ereditato da SqlSmoObject).
Metodo protetto ScriptImplWorker (Ereditato da SqlSmoObject).
Metodo protetto ScriptInformativeHeaders (Ereditato da ScriptNameObjectBase).
Metodo protetto ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Ereditato da NamedSmoObject).
Metodo protetto SetCollectionTextMode Sets the collection text mode. (Ereditato da ScriptNameObjectBase).
Metodo protetto SetParentImpl (Ereditato da SqlSmoObject).
Metodo protetto SetTextBody Specifies the text body. (Ereditato da ScriptNameObjectBase).
Metodo protetto SetTextHeader Specifies the text header. (Ereditato da ScriptNameObjectBase).
Metodo protetto SetTextMode Specifies the text mode. (Ereditato da ScriptNameObjectBase).
Metodo protetto SwitchTextMode Switches the text mode. (Ereditato da ScriptNameObjectBase).
Metodo protetto ThrowIfTextIsDirtyForAlter (Ereditato da ScriptNameObjectBase).
Metodo pubblico ToString Returns a String that represents the referenced object. (Ereditato da SqlSmoObject).
Metodo protetto TouchImpl (Ereditato da SqlSmoObject).
Metodo pubblico UnbindDefault() () () () Unbinds a default from the user-defined data type.
Metodo pubblico UnbindDefault(Boolean) Unbinds a default from the user-defined data type.
Metodo protetto UnbindDefaultImpl (Ereditato da SqlSmoObject).
Metodo pubblico UnbindRule() () () () Unbinds a rule from the user-defined data type.
Metodo pubblico UnbindRule(Boolean) Unbinds a rule from the user-defined data type.
Metodo protetto UnbindRuleImpl (Ereditato da SqlSmoObject).
Metodo pubblico Validate (Ereditato da SmoObjectBase).

In alto

Campi

  Nome Descrizione
Campo protetto m_ExtendedProperties (Ereditato da SqlSmoObject).

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica AllowIdentity Gets the Boolean property value that specifies whether the user-defined data type is able to participate in a column defined with the identity property.
Proprietà pubblica Collation Gets the collation assigned to the user-defined data type.
Proprietà pubblica Default Gets or sets a SQL Server default that is bound to the user-defined data type.
Proprietà pubblica DefaultSchema Gets or sets the SQL Server default schema for the user-defined data type.
Proprietà protetta ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Ereditato da SqlSmoObject).
Proprietà pubblica ExtendedProperties Gets the extended properties of the user-defined data type.
Proprietà pubblica ID Gets an ID value that uniquely identifies the user-defined data type.
Proprietà pubblica IsSchemaOwned
Proprietà protetta IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Ereditato da SqlSmoObject).
Proprietà pubblica Length Gets or sets the number of characters in the user-defined data type.
Proprietà pubblica MaxLength Gets the maximum number of characters accepted by the user-defined data type.
Proprietà pubblica Name Gets or sets the name of the Schema Object Base. (Ereditato da ScriptSchemaObjectBase).
Proprietà pubblica Nullable Gets or sets the Boolean property value that specifies whether the user-defined data type accepts null values or not.
Proprietà pubblica NumericPrecision Gets or sets the maximum number of digits in a numeric value used in the definition of the user-defined data type.
Proprietà pubblica NumericScale Gets or sets the maximum number of digits to the right of the decimal point in a numeric value used in the definition of the user-defined data type.
Proprietà protetta 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. (Ereditato da SqlSmoObject).
Proprietà pubblica Owner
Proprietà pubblica Parent Gets or sets the Database object that is the parent of the UserDefinedDataType object.
Proprietà pubblica Properties Gets a collection of Property objects that represent the object properties. (Ereditato da SqlSmoObject).
Proprietà pubblica Rule Gets or sets a SQL Server rule that is bound to the user-defined data type.
Proprietà pubblica RuleSchema Gets or sets the SQL Server rule schema for the user-defined data type.
Proprietà protetta ScalarResult Gets the scalar result for the referenced object. (Ereditato da SqlSmoObject).
Proprietà pubblica Schema Gets or sets the schema. (Ereditato da ScriptSchemaObjectBase).
Proprietà pubblica State Gets the state of the referenced object. (Ereditato da SmoObjectBase).
Proprietà pubblica SystemType Gets or sets the base system data type from which the user-defined data type is derived.
Proprietà pubblica Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Ereditato da SqlSmoObject).
Proprietà pubblica UserData Gets or sets user-defined data associated with the referenced object. (Ereditato da SmoObjectBase).
Proprietà pubblica VariableLength Gets the Boolean property value that specifies whether the user-defined data type is variable in length.

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged (Ereditato da SqlSmoObject).
Evento pubblico PropertyMetadataChanged (Ereditato da SqlSmoObject).

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectDiscover (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetParent (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetProperty (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato ISfcPropertyProviderGetPropertySet (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetUrn (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectResolve (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectSetProperty (Ereditato da SqlSmoObject).

In alto