[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets or sets a maximum length value in the attribute value type template. Valid only for string properties. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackProperty
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value

Syntax

Visual Basic
Public Property MaxLength As Integer
C#
public int MaxLength { get; set; }
C++
public:
property int MaxLength {
		int get ();
		void set (int value);
}
J#
/** @property */
public int get_MaxLength ()

/** @property */
public void set_MaxLength (int value)
JScript
public function get MaxLength () : int

public function set MaxLength (value : int)

Property Value

Returns Int32. The maximum length value in the attribute value type template.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also