문서를 영문으로 보려면 영문 확인란을 선택하세요. 마우스 포인터를 텍스트 위로 이동시켜 팝업 창에서 영문 텍스트를 표시할 수도 있습니다.
번역
영문

UserDefinedDataType 클래스

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class UserDefinedDataType : ScriptSchemaObjectBase, 
	ICreatable, IAlterable, IDroppable, IRenamable, IExtendedProperties, 
	IScriptable, ISfcSupportsDesignMode, IObjectPermission

UserDefinedDataType 유형에서 다음 멤버를 표시합니다.

  이름설명
공용 메서드UserDefinedDataType()Initializes a new instance of the UserDefinedDataType class.
공용 메서드UserDefinedDataType(Database, String)Initializes a new instance of the UserDefinedDataType class on the specified database and with the specified name.
공용 메서드UserDefinedDataType(Database, String, String)Initializes a new instance of the UserDefinedDataType class on the specified database and with the specified name and schema.
맨 위로 이동

  이름설명
공용 속성AllowIdentityGets the Boolean property value that specifies whether the user-defined data type is able to participate in a column defined with the identity property.
공용 속성CollationGets the collation assigned to the user-defined data type.
공용 속성DefaultGets or sets a SQL Server default that is bound to the user-defined data type.
공용 속성DefaultSchemaGets or sets the SQL Server default schema for the user-defined data type.
공용 속성ExtendedPropertiesGets the extended properties of the user-defined data type.
공용 속성IDGets an ID value that uniquely identifies the user-defined data type.
공용 속성IsSchemaOwnedGets a Boolean value that indicates whether the UserDefinedDataType object is owned by a schema.
공용 속성LengthGets or sets the number of characters in the user-defined data type.
공용 속성MaxLengthGets the maximum number of characters accepted by the user-defined data type.
공용 속성NameGets or sets a String value that specifies the name of the user defined data type. (ScriptSchemaObjectBase.Name을(를) 재정의함)
공용 속성NullableGets or sets the Boolean property value that specifies whether the user-defined data type accepts null values or not.
공용 속성NumericPrecisionGets or sets the maximum number of digits in a numeric value used in the definition of the user-defined data type.
공용 속성NumericScaleGets 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.
공용 속성OwnerGets the name of the owner of the UserDefinedDataType object.
공용 속성ParentGets or sets the Database object that is the parent of the UserDefinedDataType object.
공용 속성PropertiesGets a collection of Property objects that represent the object properties. (SqlSmoObject에서 상속됨)
공용 속성RuleGets or sets a SQL Server rule that is bound to the user-defined data type.
공용 속성RuleSchemaGets or sets the SQL Server rule schema for the user-defined data type.
공용 속성SchemaGets or sets a String value that specifies the name of the schema that contains the user defined data type. (ScriptSchemaObjectBase.Schema을(를) 재정의함)
공용 속성StateGets the state of the referenced object. (SmoObjectBase에서 상속됨)
공용 속성SystemTypeGets or sets the base system data type from which the user-defined data type is derived.
공용 속성UrnGets the Uniform Resource Name (URN) address value that uniquely identifies the object. (SqlSmoObject에서 상속됨)
공용 속성UserDataGets or sets user-defined data associated with the referenced object. (SmoObjectBase에서 상속됨)
공용 속성VariableLengthGets the Boolean property value that specifies whether the user-defined data type is variable in length.
맨 위로 이동

  이름설명
공용 메서드AlterUpdates any UserDefinedDataType object property changes on the instance of Microsoft SQL Server. 
공용 메서드BindDefault(String, String)Binds a default to the user-defined data type.
공용 메서드BindDefault(String, String, Boolean)Binds a default to the user-defined data type.
공용 메서드BindRule(String, String)Binds a default to the user-defined data type.
공용 메서드BindRule(String, String, Boolean)Binds a default to the user-defined data type.
공용 메서드CreateCreates a user-defined data type on the instance of Microsoft SQL Server as defined by the UserDefinedType object.
공용 메서드Deny(ObjectPermissionSet, String)Denies the specified set of permissions for the specified grantee on the user-defined data type.
공용 메서드Deny(ObjectPermissionSet, String[])Denies the specified set of permissions for the specified grantees on the user-defined data type.
공용 메서드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.
공용 메서드Deny(ObjectPermissionSet, 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.
공용 메서드DiscoverDiscovers a list of type Object. (SqlSmoObject에서 상속됨)
공용 메서드DropRemoves the user-defined data type from the instance of Microsoft SQL Server.
공용 메서드EnumBoundColumnsEnumerates a list of columns to which the user-defined data type type is bound.
공용 메서드EnumObjectPermissions()Enumerates a list of object permissions for the user-defined data type.
공용 메서드EnumObjectPermissions(String)Enumerates a list of object permissions for a specified grantee on the user-defined data type.
공용 메서드EnumObjectPermissions(ObjectPermissionSet)Enumerates a list of object permissions for a specified permission on the user-defined data type.
공용 메서드EnumObjectPermissions(String, ObjectPermissionSet)Enumerates a list of object permissions for a specified grantee and a specified permission on the user-defined data type.
공용 메서드Equals (Object에서 상속됨)
보호된 메서드FormatSqlVariantFormats an object as SqlVariant type. (SqlSmoObject에서 상속됨)
보호된 메서드GetContextDBGets the context database that is associated with this object. (SqlSmoObject에서 상속됨)
보호된 메서드GetDBNameGets the database name that is associated with the object. (SqlSmoObject에서 상속됨)
공용 메서드GetHashCode (Object에서 상속됨)
보호된 메서드GetPropValueGets a property value of the SqlSmoObject object. (SqlSmoObject에서 상속됨)
보호된 메서드GetPropValueOptionalGets a property value of the SqlSmoObject object. (SqlSmoObject에서 상속됨)
보호된 메서드GetPropValueOptionalAllowNullGets a property value of the SqlSmoObject object. (SqlSmoObject에서 상속됨)
보호된 메서드GetServerObjectGets the server of the SqlSmoObject object. (SqlSmoObject에서 상속됨)
공용 메서드GetType (Object에서 상속됨)
공용 메서드Grant(ObjectPermissionSet, String)Grants the specified set of permissions to the specified grantee on the user-defined data type.
공용 메서드Grant(ObjectPermissionSet, String[])Grants the specified set of permissions to the specified grantees on the user-defined 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 user-defined data type.
공용 메서드Grant(ObjectPermissionSet, 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.
공용 메서드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.
공용 메서드Grant(ObjectPermissionSet, 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.
공용 메서드Initialize()Initializes the object and forces the properties be loaded. (SqlSmoObject에서 상속됨)
공용 메서드Initialize(Boolean)Initializes the object and forces the properties be loaded. (SqlSmoObject에서 상속됨)
보호된 메서드IsObjectInitializedVerifies whether the object has been initialized. (SqlSmoObject에서 상속됨)
보호된 메서드IsObjectInSpaceVerifies whether the object is isolated or connected to the instance of SQL Server. (SqlSmoObject에서 상속됨)
공용 메서드RefreshRefreshes the script name. (ScriptNameObjectBase에서 상속됨)
공용 메서드RenameRenames the user defined data type.
공용 메서드Revoke(ObjectPermissionSet, String)Revokes a previously granted set of permissions from a grantee on the user-defined data type.
공용 메서드Revoke(ObjectPermissionSet, String[])Revokes a previously granted set of permissions from a list of grantees on the user-defined data type.
공용 메서드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.
공용 메서드Revoke(ObjectPermissionSet, 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.
공용 메서드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.
공용 메서드Revoke(ObjectPermissionSet, 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.
공용 메서드Script()Generates a Transact-SQL script that can be used to re-create the user-defined data type.
공용 메서드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.
보호된 메서드SetParentImplSets the parent of the SqlSmoObject to the newParent parameter. (SqlSmoObject에서 상속됨)
공용 메서드ToStringReturns a String that represents the referenced object. (SqlSmoObject에서 상속됨)
공용 메서드UnbindDefault()Unbinds a default from the user-defined data type.
공용 메서드UnbindDefault(Boolean)Unbinds a default from the user-defined data type.
공용 메서드UnbindRule()Unbinds a rule from the user-defined data type.
공용 메서드UnbindRule(Boolean)Unbinds a rule from the user-defined data type.
공용 메서드ValidateValidates the state of an object. (SmoObjectBase에서 상속됨)
맨 위로 이동

  이름설명
공용 이벤트PropertyChangedRepresents the event that occurs when a property is changed. (SqlSmoObject에서 상속됨)
공용 이벤트PropertyMetadataChangedRepresents the event that occurs when property metadata changes. (SqlSmoObject에서 상속됨)
맨 위로 이동

  이름설명
명시적 인터페이스 구현전용 메서드IAlienObject.DiscoverDiscovers any dependencies. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.GetDomainRootReturns the root of the domain. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.GetParentGets the parent of this object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.GetPropertyTypeGets the type of the specified property. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.GetPropertyValueGets the value of the specified property. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.GetUrnGets the Unified Resource Name (URN) of the object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.ResolveGets the instance that contains the information about the object from the Unified Resource Name (URN) of the object. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.SetObjectStateSets the object state to the specified SfcObjectState value. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드IAlienObject.SetPropertyValueSets the property value. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 메서드ISfcPropertyProvider.GetPropertySetGets the interface reference to the set of properties of this object. (SqlSmoObject에서 상속됨)
명시적 인터페이스 구현전용 속성ISfcSupportsDesignMode.IsDesignModeGets a Boolean value that specifies whether the user defined data type supports design mode.
맨 위로 이동

To get UserDefinedDataType object permissions, users can be a member of the public fixed server role.

To set UserDefinedDataType object permissions, users must have CREATE TYPE permission in the parent database and ALTER permission on specified schema. If an assembly is specified, users must either own the assembly or have REFERENCES permission on it.

To create an user-defined data type data type, users must have CREATE TYPE permission in the parent database and ALTER permission on specified schema. If an assembly is specified, users must either own the assembly or have REFERENCES permission on it.

To drop a user-defined data type data type, users must have CONTROL permission on the type and ALTER permission on the specified schema.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

커뮤니티 추가 항목

추가
표시: