ToString 메서드
Returns a delimited string that represents the contents of the collection.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
어셈블리: Microsoft.SqlServer.Exec80PackageTask(Microsoft.SqlServer.Exec80PackageTask.dll)
구문
‘선언
Public Overrides Function ToString As String
‘사용 방법
Dim instance As VariablesCollection
Dim returnValue As String
returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string
override ToString : unit -> string
public override function ToString() : String
반환 값
유형: System. . :: . .String
A delimited string that contains the contents of the collection.
주의
The string returned by this method can be used in the LoadFromString method to load an entire collection of variables with a single method call.
The delimited string uses the following syntax:
return::= variable;variable;...
variable::=name,datatype,value
The name argument contains the name of the PkgVariable to be added.
The datatype argument contains the data type of the PkgVariable to be added.
The value argument contains the value of the PkgVariable to be added.
Literal comma (,) or semicolon (;) characters included as part of any argument must be prefaced with a backslash (\) character.
[!참고]
String variables that end in the backslash character have a single space character appended to them during the conversion process, to prevent the possibility that the semicolon used to terminate a variable could be misinterpreted as a literal semicolon character by the LoadFromString method.