StringPropertyTooLongException 생성자 (String, Int32, Int32)

Initializes a new instance of the StringPropertyTooLongException class that has the specified property, maximum length of the string, and the current length of the string.

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

구문

‘선언
Public Sub New ( _
    propertyName As String, _
    maxLength As Integer, _
    currentLength As Integer _
)
‘사용 방법
Dim propertyName As String 
Dim maxLength As Integer 
Dim currentLength As Integer 

Dim instance As New StringPropertyTooLongException(propertyName, _
    maxLength, currentLength)
public StringPropertyTooLongException(
    string propertyName,
    int maxLength,
    int currentLength
)
public:
StringPropertyTooLongException(
    String^ propertyName, 
    int maxLength, 
    int currentLength
)
new : 
        propertyName:string * 
        maxLength:int * 
        currentLength:int -> StringPropertyTooLongException
public function StringPropertyTooLongException(
    propertyName : String, 
    maxLength : int, 
    currentLength : int
)

매개 변수

  • maxLength
    유형: System.Int32
    An Int32 value that specifies the maximum length that is allowed for the string property.
  • currentLength
    유형: System.Int32
    An Int32 value that specifies the current length of the string.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

SMO 예외 처리

참고 항목

참조

StringPropertyTooLongException 클래스

StringPropertyTooLongException 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스