GetObjectFromPackagePath méthode
Returns a package property and the object from the specified package path.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public Function GetObjectFromPackagePath ( _
packagePath As String, _
<OutAttribute> ByRef property As DtsProperty _
) As Object
'Utilisation
Dim instance As Package
Dim packagePath As String
Dim property As DtsProperty
Dim returnValue As Object
returnValue = instance.GetObjectFromPackagePath(packagePath, _
property)
public Object GetObjectFromPackagePath(
string packagePath,
out DtsProperty property
)
public:
Object^ GetObjectFromPackagePath(
String^ packagePath,
[OutAttribute] DtsProperty^% property
)
member GetObjectFromPackagePath :
packagePath:string *
property:DtsProperty byref -> Object
public function GetObjectFromPackagePath(
packagePath : String,
property : DtsProperty
) : Object
Paramètres
- packagePath
Type : System. . :: . .String
The path to the package.
- property
Type : Microsoft.SqlServer.Dts.Runtime. . :: . .DtsProperty%
The object is the property that you want. This is an out parameter.
Valeur de retour
Type : System. . :: . .Object
An object that contains the information you want.